-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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.Runtime.CompilerServices.Unsafe binding redirect missing when also referencing System.IO.Pipelines #28789
Comments
cc @ericstj any ideas? |
When a package is update to fix a servicing issue we don't update every package that references it. What happens if you reference the latest pre-release package out of master? |
Is there anything to do here? |
The versions in the repro are still the latest (stable) packages. Did you want me to test the preview packages that have been pushed to nuget? |
Using the latest preview packages, the problem still repros. <PackageReference Include="system.IO.Pipelines" Version="4.6.0-preview5.19224.8" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.6.0-preview6.19259.10" /> |
That's not latest. Why are you not using a preview6 build for pipelines? Looks like Nuget.org only has preview 5. Can you grab the latest off of https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json. |
Worked for me when referencing
@AArnott please give a try and close if you're fixed. |
Or if you prefer Preview6 (upcoming release):
I found that the |
Yes, with |
When referencing the latest System.IO.Pipelines and System.Runtime.CompilerServices.Unsafe packages from a net46 application, the binding redirects required at runtime are not generated automatically, resulting in runtime failure:
Repro
When uncommenting the System.Memory PackageReference in the project file in the above repro, the problem goes away. I believe this has already been fixed in the latest System.Memory package. The problem is that the latest System.IO.Pipelines package refers to an older version of System.Memory that does not include the fix.
Similar to #27492
The text was updated successfully, but these errors were encountered: