Saturn icon indicating copy to clipboard operation
Saturn copied to clipboard

Unable to build Docs as Fornax needs dotnet3

Open groma84 opened this issue 3 years ago • 3 comments

I was unable to build the Docs, first with the devcontainer where only dotnet5 is installed, because it requires an installed dotnet3 sdk.

Afterwards when trying it locally with an installed dotnet3 sdk

λ dotnet --list-sdks
3.1.408 [C:\Program Files\dotnet\sdk]
5.0.201 [C:\Program Files\dotnet\sdk]

also results in errors:

λ dotnet fake build -t Docs
...
Starting target 'Docs'
docs> "dotnet" fornax build (In: false, Out: false, Err: false)
LOADER ERROR: Load Errors: [|C:\workspace\other\Saturn_orig\docs\loaders\apirefloader.fsx (2,1)-(2,88) parameter error Unable to find the file '../../packages/docs/FSharp.Formatting/lib/netstandard2.0/FSharp.MetadataFormat.dll' in any of
 C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1
 C:\workspace\other\Saturn_orig\docs
 C:\Users\mgrotz\.nuget\packages\fornax\0.13.1\tools\netcoreapp3.1\any\|]
Open Errors: [|input.fsx (1,6)-(1,18) typecheck error The namespace or module 'Apirefloader' is not defined.|]
Get layout Errors: [|input.fsx (1,16)-(1,22) typecheck error The value or constructor 'loader' is not defined. Maybe you want one of the following:
   Loading
   Order|]

I think we need an updated dotnet5 compatible version of the Fornax tool?

groma84 avatar Mar 21 '21 16:03 groma84

Yes, I need to release a new version of Fornax for .NET 5 support.

Krzysztof-Cieslak avatar Mar 25 '21 16:03 Krzysztof-Cieslak

The Fornax is now updated, no? I just downloaded the code there and the global.json states that the required version is the 5.0.102.

64J0 avatar Oct 01 '21 19:10 64J0

Fornax is updated but need publishing, should happen soon: https://github.com/ionide/Fornax/issues/77

Once that is done I'll update things on this end

cartermp avatar Jan 14 '22 23:01 cartermp