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

global.jsons target a specific .net core 3.1 SDK version, should target .net core 3.1 in general #54

Closed
klimisa opened this issue Oct 9, 2020 · 1 comment · Fixed by #55

Comments

@klimisa
Copy link
Contributor

klimisa commented Oct 9, 2020

global.json currently targets a specific .net core 3.1 SDK version

FsCodec/global.json

Lines 1 to 5 in 0608f83

{
"sdk": {
"version": "3.1.101"
}
}

As result when I try to build the project on my machine I get following error:

dotnet build
A compatible installed .NET Core SDK for global.json version [3.1.101] from [/home/klimisa/Personal/dev/jet/FsCodec/global.json] was not found
Install the [3.1.101] .NET Core SDK or update [/home/klimisa/Personal/dev/jet/FsCodec/global.json] with an installed .NET Core SDK:
  3.1.402 [/usr/share/dotnet/sdk]

Therefore, if you have only the latest version then you can't build or run any tests.

@klimisa
Copy link
Contributor Author

klimisa commented Oct 9, 2020

Suggested fix is to change global.json to the following,

{
  "sdk": {
    "version": "3.1.101",
    "rollForward": "latestFeature"
  }
}

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

Successfully merging a pull request may close this issue.

1 participant