Skip to content

Is global.json preferred alternative to setting RuntimeFrameworkVersion? #6148

Closed
@MNF

Description

@MNF

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions