You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dotnet restore .\PaketRepro.sln --you should see it fails now, the import is preset. 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:
@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:
NUnit: .NET Standard 1.6
log4net: .NET Standard 1.3
If everything you reference is at the same version of .NET Standard then it seems to work ok.
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: