Skip to content

Instantly share code, notes, and snippets.

@adz
Created February 21, 2020 03:28
Show Gist options
  • Save adz/6b436d4ff26e53e9aa2146cadd98fcd9 to your computer and use it in GitHub Desktop.
Save adz/6b436d4ff26e53e9aa2146cadd98fcd9 to your computer and use it in GitHub Desktop.
Using framework 4.8 to try to build
C:\projects\FSharpPlus>fsi buildDocs.fsx
TARGET ---> CleanDocs
TARGET ---> Build
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 46.69 ms for C:\projects\FSharpPlus\src\FSharpPlus\FSharpPlus.fsproj.
FSharpPlus -> C:\projects\FSharpPlus\src\FSharpPlus\bin\Release\netstandard2.0\FSharpPlus.dll
FSharpPlus -> C:\projects\FSharpPlus\src\FSharpPlus\bin\Release\net45\FSharpPlus.dll
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 46.69 ms for C:\projects\FSharpPlus\src\FSharpPlus\FSharpPlus.fsproj.
FSharpPlus -> C:\projects\FSharpPlus\src\FSharpPlus\bin\Release\netstandard2.0\FSharpPlus.dll
FSharpPlus -> C:\projects\FSharpPlus\src\FSharpPlus\bin\Release\net45\FSharpPlus.dll
Writing C:\Users\adamd\AppData\Local\Temp\tmp9FE5.tmp
info : Adding PackageReference for package 'FSharp.Formatting' into project 'C:\projects\FSharpPlus\temp\tools\docs.proj'.
info : Restoring packages for C:\projects\FSharpPlus\temp\tools\docs.proj...
error: Package FSharp.Formatting.CommandTool 3.1.0 is not compatible with net47 (.NETFramework,Version=v4.7). Package FSharp.Formatting.CommandTool 3.1.0 supports: netcoreapp3.1 (.NETCoreApp,Version=v3.1) / any
error: Invalid project-package combination for FSharp.Formatting.CommandTool 3.1.0. DotnetToolReference project style can only contain references of the DotnetTool type
error: Package 'FSharp.Formatting' is incompatible with 'all' frameworks in project 'C:\projects\FSharpPlus\temp\tools\docs.proj'.
Writing C:\Users\adamd\AppData\Local\Temp\tmp9FE5.tmp
info : Adding PackageReference for package 'FSharp.Formatting' into project 'C:\projects\FSharpPlus\temp\tools\docs.proj'.
info : Restoring packages for C:\projects\FSharpPlus\temp\tools\docs.proj...
error: Package FSharp.Formatting.CommandTool 3.1.0 is not compatible with net47 (.NETFramework,Version=v4.7). Package FSharp.Formatting.CommandTool 3.1.0 supports: netcoreapp3.1 (.NETCoreApp,Version=v3.1) / any
error: Invalid project-package combination for FSharp.Formatting.CommandTool 3.1.0. DotnetToolReference project style can only contain references of the DotnetTool type
error: Package 'FSharp.Formatting' is incompatible with 'all' frameworks in project 'C:\projects\FSharpPlus\temp\tools\docs.proj'.
Writing C:\Users\adamd\AppData\Local\Temp\tmpA97A.tmp
info : Adding PackageReference for package 'FSharp.Formatting.CommandTool' into project 'C:\projects\FSharpPlus\temp\tools\docs.proj'.
info : Restoring packages for C:\projects\FSharpPlus\temp\tools\docs.proj...
error: Package FSharp.Formatting.CommandTool 3.1.0 is not compatible with net47 (.NETFramework,Version=v4.7). Package FSharp.Formatting.CommandTool 3.1.0 supports: netcoreapp3.1 (.NETCoreApp,Version=v3.1) / any
error: Invalid project-package combination for FSharp.Formatting.CommandTool 3.1.0. DotnetToolReference project style can only contain references of the DotnetTool type
error: Package 'FSharp.Formatting.CommandTool' is incompatible with 'all' frameworks in project 'C:\projects\FSharpPlus\temp\tools\docs.proj'.
Writing C:\Users\adamd\AppData\Local\Temp\tmpA97A.tmp
info : Adding PackageReference for package 'FSharp.Formatting.CommandTool' into project 'C:\projects\FSharpPlus\temp\tools\docs.proj'.
info : Restoring packages for C:\projects\FSharpPlus\temp\tools\docs.proj...
error: Package FSharp.Formatting.CommandTool 3.1.0 is not compatible with net47 (.NETFramework,Version=v4.7). Package FSharp.Formatting.CommandTool 3.1.0 supports: netcoreapp3.1 (.NETCoreApp,Version=v3.1) / any
error: Invalid project-package combination for FSharp.Formatting.CommandTool 3.1.0. DotnetToolReference project style can only contain references of the DotnetTool type
error: Package 'FSharp.Formatting.CommandTool' is incompatible with 'all' frameworks in project 'C:\projects\FSharpPlus\temp\tools\docs.proj'.
TARGET ---> ReferenceDocs
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at FSI_0001.Doclib.executeProcess(String exe, String cmdline, FSharpOption`1 workingDir) in C:\projects\FSharpPlus\docsrc\tools\doclib.fsx:line 1035
at FSI_0001.Doclib.FSFormatting.run(String toolPath, String command) in C:\projects\FSharpPlus\docsrc\tools\doclib.fsx:line 1056
at FSI_0001.Doclib.FSFormatting.createDocsForDlls(FSharpFunc`2 p, IEnumerable`1 dllFiles) in C:\projects\FSharpPlus\docsrc\tools\doclib.fsx:line 1125
at FSI_0003.clo@132-11.Invoke(Unit _arg1) in C:\projects\FSharpPlus\buildDocs.fsx:line 155
at <StartupCode$FSI_0003>.$FSI_0003.main@() in C:\projects\FSharpPlus\buildDocs.fsx:line 132
Stopped due to error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment