question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NU1605: Detected package downgrade

See original GitHub issue

Visual Studio 2017 v15.3.3 Microsoft.NETCore.UniversalWindowsPlatform v5.4.0 Magick.Net v7.0.7.0

Warnings:
NU1605: Detected package downgrade: System.Net.NameResolution from 4.3.0 to 4.0.0. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Sockets (>= 4.1.0) -> runtime.win.System.Net.Sockets (>= 4.3.0) -> System.Net.NameResolution (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.NameResolution (>= 4.0.0)
NU1605: Detected package downgrade: System.Net.Primitives from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Sockets (>= 4.1.0) -> runtime.win.System.Net.Sockets (>= 4.3.0) -> System.Net.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Sockets (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.NETCore (>= 5.0.2) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.NameResolution (>= 4.0.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Requests (>= 4.0.11) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Sockets (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.WebSockets.Client (>= 4.0.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.ServiceModel.Http (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.ServiceModel.NetTcp (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.ServiceModel.Primitives (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Http.Rtc (>= 4.0.1) -> System.Net.Http (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.ServiceModel.Duplex (>= 4.0.1) -> System.Private.ServiceModel (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: Microsoft.Win32.Primitives from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.ServiceModel.Security (>= 4.0.1) -> System.Private.ServiceModel (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> Microsoft.Win32.Primitives (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> Microsoft.Win32.Primitives (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.NameResolution (>= 4.0.0) -> System.Diagnostics.Tracing (>= 4.1.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.WebSockets.Client (>= 4.0.0) -> System.Diagnostics.Tracing (>= 4.1.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Http.Rtc (>= 4.0.1) -> System.Net.Http (>= 4.1.0) -> System.Diagnostics.Tracing (>= 4.1.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Sockets (>= 4.1.0) -> runtime.win.System.Net.Sockets (>= 4.3.0) -> System.Diagnostics.Tracing (>= 4.3.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Requests (>= 4.0.11) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> System.Diagnostics.Tracing (>= 4.3.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Net.Sockets (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> System.Diagnostics.Tracing (>= 4.3.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.ServiceModel.Http (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> System.Diagnostics.Tracing (>= 4.3.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.ServiceModel.NetTcp (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> System.Diagnostics.Tracing (>= 4.3.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.ServiceModel.Primitives (>= 4.1.0) -> System.Net.Primitives (>= 4.0.11) -> runtime.win.System.Net.Primitives (>= 4.3.0) -> System.Diagnostics.Tracing (>= 4.3.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)
NU1605: Detected package downgrade: System.Diagnostics.Contracts from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version. 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.ServiceModel.Primitives (>= 4.1.0) -> System.Security.Cryptography.X509Certificates (>= 4.1.0) -> System.Security.Cryptography.Encoding (>= 4.0.0) -> System.Collections.Concurrent (>= 4.0.12) -> System.Diagnostics.Tracing (>= 4.1.0) -> runtime.aot.System.Diagnostics.Tracing (>= 4.3.0) -> System.Reflection.Extensions (>= 4.3.0) -> runtime.aot.System.Reflection.Extensions (>= 4.3.0) -> System.Reflection.TypeExtensions (>= 4.3.0) -> System.Diagnostics.Contracts (>= 4.3.0) 
 TexturePacker (>= 1.0.0) -> Microsoft.NETCore.UniversalWindowsPlatform (>= 5.4.0) -> System.Diagnostics.Contracts (>= 4.0.1)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

9reactions
dlemstracommented, Sep 5, 2017

It appears that the project uses a lower version of the libraries than I am referencing. Adding a reference to the libraries that are mentioned seems to get rid of the warnings. I had to add the following libraries:

Microsoft.Win32.Primitives: 4.3.0
System.Net.NameResolution: 4.3.0
System.Net.Primitives: 4.3.0
0reactions
AfroGritcommented, Jun 28, 2019

thanks for the fast response - tried it and it just spits out the same error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NuGet Warning NU1605
Detected package downgrade : 'PackageB' from 4.0.0 to 3.5.0. Reference the package directly from the project to select a different version.
Read more >
Error NU1605 Detected package downgrade
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 ...
Read more >
[NU1605] Detected package downgrade: … Reference the ...
For me the Solution it happened with had a number of projects, it also had a packages folder. The first step was to...
Read more >
"Detected package downgrade" Wat? : r/dotnet
service.csproj : error NU1605: Detected package downgrade: System.Runtime.Handles from 4.3.0 to 4.0.1. Reference the package directly from ...
Read more >
Build error NU1605 "Detected package downgrade" while ...
The solution that I found for this problem is to find out the package and donwgrade its version for the version sugested during...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found