I am experiencing the following NU1605 dependency errors in my netcoreapp2.0 console application:
NU1605 Detected package downgrade: System.Dia
Error NU1605 Detected package downgrade
For the error NU1605:
You can use
to clear the WarningsAsErrors
in your project.
That because netcoreapp2.0
projects have
by default. Check it from Properties->Build->Treat warning as errors:
Add like following:
NU1605
Check the blog post here: MSBuild integration of NuGet warnings and errors and Unexpected package version warnings.
For the error NU1603:
The warning occurs because System.Runtime.Handles
(>= 4.1.0) does not exist in the feed. Typically this is a package authoring error because the package depends on something that doesn't exist.
You can also use
to resolve this issue:
NU1603
Note:You would notice that your project has another warning, notice the yellow triangle insignia on the PackageReference DotSpinners
on Reference. That because the package DotSpinners
is a .NET Framework project, not compatible with your .NET Core project.
Hope this helps.