-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
System.Management.Automation 7.3.1 depends on a missing nuget package #18782
Comments
Same here. Looking forward for the update because 7.3.1 is needed for
|
Error NU1102 Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 7.0.0-preview.3.22119.2)
|
Until we have a better fix, you can work around this by adding the following line to the <PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="7.0.0-preview.2.22152.2" NoWarn="NU1605" /> |
I came across this KB article stating that no new versions of this package will be created, so will that ultimately lead to it's removal as a dependency here and be covered by the main framework? |
@jak-hammond thanks for the link to the KB article. I have created PR to remove the dependency. |
🎉This issue was addressed in #18806, which has now been successfully released as Handy links: |
Prerequisites
Steps to reproduce
Building a project dependent on System.Management.Automation 7.3.1 will complain about missing System.Runtime.CompilerServices 7.0.0-preview.3.22119.2 (which is not pushed to nuget.org at the time of writing this, only preview.2 is). It's perhaps transient ?
A quick workaround is to add https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v2 to your NuGet.Config
Expected behavior
Should find the dependant System.Runtime.CompilerServices.Unsafe package, and build correctly
Actual behavior
Error details
No response
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: