Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build Docs as Fornax needs dotnet3 #299

Open
groma84 opened this issue Mar 21, 2021 · 3 comments
Open

Unable to build Docs as Fornax needs dotnet3 #299

groma84 opened this issue Mar 21, 2021 · 3 comments

Comments

@groma84
Copy link
Contributor

groma84 commented Mar 21, 2021

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?

@Krzysztof-Cieslak
Copy link
Member

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

@64J0
Copy link
Contributor

64J0 commented Oct 1, 2021

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.

@cartermp
Copy link
Collaborator

Fornax is updated but need publishing, should happen soon: ionide/Fornax#77

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants