Skip to content

The specified framework version '2.0' could not be parsed... #9142

@cgountanis

Description

@cgountanis

The global.json with 2.1.4 does not help when using dotnet ef commands in a classlib. You still have to manually add the RuntimeFrameworkVersion to the CSPROJ file on all projects in the solution. If you only add to one NUGET wants to consolidate because some projects are using 2.0.0 and only the ones specified with RuntimeFrameworkVersion use 2.0.5. I only have SDK 2.1.4 installed why does it just not use Runtime 2.0.5 by default?

Why do I have to specify this in ever CSPROJ, what good is the global.json then?

<RuntimeFrameworkVersion>2.0.5</RuntimeFrameworkVersion>

2018-03-07 09_42_50-sso - microsoft visual studio

2018-03-07 09_42_56-sso - microsoft visual studio

2018-03-07 09_42_24-core - programs and features

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions