Skip to content

Error NU1605 Detected package downgrade: Microsoft.NETCore.App from 2.0.3 to 2.0.0 #10457

@MikeYeager

Description

@MikeYeager

I upgraded VS2017 to 15.4.5, verified that .NETCore SDK 2.0.3 is properly installed and upgraded all of the NuGet packages in my multi-project solution to the latest versions. The solution is configured to run all ASP.NET Core Web API projects in Docker/Linux. All of the updates went smoothly except for Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.1. It causes the build to break with this message in various places:

Error NU1605 Detected package downgrade: Microsoft.NETCore.App from 2.0.3 to 2.0.0. Reference the package directly from the project to select a different version.
MyProject.EF -> Microsoft.EntityFrameworkCore.Tools.DotNet 2.0.1 -> Microsoft.NETCore.App (>= 2.0.3)
MyProject.EF -> Microsoft.NETCore.App (>= 2.0.0)

Removing this packages gets rid of the errors. Adding it back makes the errors re-appear.

Any help would be appreciated,
Mike
efcoretoolserror

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