Error NU1605 - Detected package downgrade. Reference the package directly from the project to select a different version.
Error NU1605 - Detected package downgrade
Solution:
Add the following in .csproj file
<PackageReference>
<NoWarn>$(NoWarn);NU1605</NoWarn>
</PackageReference>
Another way to do this is to right-click on the solution and click Properties. Click Build and under Errors and warnings add 1605 to the SuppressWarnings text box. You can also add multiple error codes that you want to suppress by adding each separated by a comma.
P.S. The below screenshot is in VS2019 Mac Version
Comments
Post a Comment