dotnet / dotnet/core

Package Downgrade error with mysql 8.0.21 nuget package while publishing for linux-x64

Open
#5,278 10 comments 0 reactions 1 assignee Claimed by @rrelyea View on GitHub
area-nuget
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

# Package Downgrade error with mysql 8.0.21 nuget package while publishing for linux-x64

With .netcore 3.1 runtime when I try to publish application for linux-x64 runtime it shows package downgrade error.

```
Severity Code Description Project File Line Suppression State
Error 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.
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0)
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> System.Net.Primitives (>= 4.0.11) Crystal.Pos.Cafe D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0
```
```
Severity Code Description Project File Line Suppression State
Error 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.
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.NameResolution (>= 4.3.0)
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.NameResolution (>= 4.0.0) Crystal.Pos.Cafe D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0
```
```
Severity Code Description Project File Line Suppression State
Error Detected package downgrade: System.Threading.ThreadPool from 4.3.0 to 4.0.10. Reference the package directly from the project to select a different version.
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Threading.ThreadPool (>= 4.3.0)
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Threading.ThreadPool (>= 4.0.10) Crystal.Pos.Cafe D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0
```
```
Severity Code Description Project File Line Suppression State
Error 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.
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0)
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> System.Net.Primitives (>= 4.0.11) Crystal.Pos.Cafe D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0
```
```
Severity Code Description Project File Line Suppression State
Error 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.
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.NameResolution (>= 4.3.0)
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.NameResolution (>= 4.0.0) Crystal.Pos.Cafe D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0
```
```
Severity Code Description Project File Line Suppression State
Error Detected package downgrade: System.Threading.ThreadPool from 4.3.0 to 4.0.10. Reference the package directly from the project to select a different version.
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Threading.ThreadPool (>= 4.3.0)
Crystal.Pos.Cafe -> MySql.Data 8.0.21 -> SSH.NET 2016.1.0 -> System.Threading.ThreadPool (>= 4.0.10) Crystal.Pos.Cafe D:\project\CrystalErp\crystal.pos.cafe\crystal.pos.cafe\Crystal.Pos.Cafe.csproj 0
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.