Magick.net: NU1605: Detected package downgrade

Created on 5 Sep 2017  路  8Comments  路  Source: dlemstra/Magick.NET

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)
question

Most helpful comment

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

All 8 comments

Do you have a simple project that I can use to reproduce the problem? These are only warnings so I don't think this will be an issue. Are you working with .NET Core 2.0 ?

I use project: Blank App (Universal Windows) in Visual Studio 2017 v15.3.3 and add Magick.NET-Q8-AnyCPU v7.0.7 in Nuget.

Okay thanks for the information. Will take a look at it tonight.

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

Yeah. It worked. Thank you

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

How do you do that?

@AfroGrit You will need to add them as a NuGet package to your project.

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

Was this page helpful?
0 / 5 - 0 ratings