-
Notifications
You must be signed in to change notification settings - Fork 6k
Is global.json preferred alternative to setting RuntimeFrameworkVersion? #6148
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
Comments
I think the new article that @BillWagner is working on is going to explain this in more detail. See PR #6060 @KathleenDollard please correct me if I'm wrong but my understanding is that they're orthogonal to each other. With global.json you specify which SDK version you're going to be using and with <RuntimeFrameworkVersion> you specify the minimum runtime patch version. /cc @dsplaisted |
@mairaw is correct. global.json does not affect the runtime framework in anyway. global.json is a mechanism for determining the CLI/SDK that is used (including the version of MSBuild) that is used to create your application. |
@mairaw It's not actually the minimum version, if you set this property it will use that specific version even if a later one is also available. @MNF If you want to set the |
@MNF It looks like your question has been answered. I'm closing this issue. If you have further questions, re-open it and let us know what more information you need. |
If I have a few projects in the solution, e.g. unit/ integration tests additionally to main application,
will be better to add global.json Instead of set RuntimeFrameworkVersion to each project?
The idea from dotnet/aspnetcore#3221 (comment)
global.json to my Project with:
{
"sdk": { "version": "2.1.300" }
}
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: