Skip to content

Instantly share code, notes, and snippets.

@adz
Created February 21, 2020 03:09
Show Gist options
  • Save adz/57ef4311771121c7589c5091eef0b5f0 to your computer and use it in GitHub Desktop.
Save adz/57ef4311771121c7589c5091eef0b5f0 to your computer and use it in GitHub Desktop.
dotnet fsi buildDocs.fsx
C:\projects\FSharpPlus (adz-document-generic-ops -> adz)
λ dotnet 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 35.49 ms for C:\projects\FSharpPlus\src\FSharpPlus\FSharpPlus.fsproj.
FSharpPlus -> C:\projects\FSharpPlus\src\FSharpPlus\bin\Release\net45\FSharpPlus.dll
FSharpPlus -> C:\projects\FSharpPlus\src\FSharpPlus\bin\Release\netstandard2.0\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 35.49 ms for C:\projects\FSharpPlus\src\FSharpPlus\FSharpPlus.fsproj.
FSharpPlus -> C:\projects\FSharpPlus\src\FSharpPlus\bin\Release\net45\FSharpPlus.dll
FSharpPlus -> C:\projects\FSharpPlus\src\FSharpPlus\bin\Release\netstandard2.0\FSharpPlus.dll
Writing C:\Users\adamd\AppData\Local\Temp\tmp89FE.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\tmp89FE.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\tmp94CC.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\tmp94CC.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 (2): 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)
at FSI_0001.Doclib.FSFormatting.run(String toolPath, String command)
at FSI_0001.Doclib.FSFormatting.createDocsForDlls(FSharpFunc`2 p, IEnumerable`1 dllFiles)
at FSI_0003.clo@132-11.Invoke(Unit _arg1)
at <StartupCode$FSI_0003>.$FSI_0003.main@()
Stopped due to error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment