Core 2.0 Restsharp Builds Alerts Using System.Runtime.Serialization.Formatters

This is the warning I get from publishing, basically any dotnet command ... I'm not sure how to solve it. Now my addiction is riddled with yellow warning symbols (after moving to 2.0). When drilling, it usually ends up as a dependency on Newtonsoft.Json , which in turn refers to System.Runtime.Serialization.Formatters .

Does anyone have this that solves it?

ERROR

warning NU1603: RestSharp.NetCore 105.2.3 depends on System.Runtime.Serialization.Formatters (> = 4.0.0-rc4-24217-03), but System.Runtime.Serialization.Formatters 4.0.0-rc4-24217-03 is not was found. The approximate best match System.Runtime.Serialization.Formatters 4.3.0-preview1-24530-04 has been resolved.

+5
source share
1 answer

The RestSharp.NetCore project is not part of the official RestSharp package team . Refer to this discuss in the official repository for details on supporting the RestSharp.NET Standard 2.0 package.

Now you can use the latest stable version of RestSharp , which supports .NET Core 2.0

0
source

Source: https://habr.com/ru/post/1271706/


All Articles