-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Dotnet restore" fails on .netstandard projects under 1.6 #2243
Comments
@forki the problem occurs when you require multiple versions of .NET Standard inside the same solution. Paket update/install/restore all work fine but you get a build error. For example:
If everything you reference is at the same version of .NET Standard then it seems to work ok. Any ideas on how to solve this? |
fixed in paket 5 beta 001 |
Confirmed this is fixed in Paket 5.0.0-beta003. Thanks a lot @forki, I massively appreciate all of your effort here. |
dotnet restore {SolutionFile} fails when we have a .netstandard project that triggers versions 1.0-1.5
Repro steps
Please provide the steps required to reproduce the problem
PaketRepro.zip
Expected behavior
When running "dotnet restore {SolutionFile}" runs we should not get an error.
Actual behavior
C:\Program Files\dotnet\sdk\1.0.2\NuGet.targets(97,5): error : Package System.Security.Cryptography.OpenSsl 4.3.0 is not
compatible with netstandard1.3 (.NETStandard,Version=v1.3). Package System.Security.Cryptography.OpenSsl 4.3.0 supports
: netstandard1.6 (.NETStandard,Version=v1.6) [D:\ticket\1373\PaketRepro\PaketRepro.sln]
C:\Program Files\dotnet\sdk\1.0.2\NuGet.targets(97,5): error : One or more packages are incompatible with .NETStandard,V
ersion=v1.3. [D:\ticket\1373\PaketRepro\PaketRepro.sln]
Known workarounds
Remove the import, but not sure if it is ok.
The text was updated successfully, but these errors were encountered: