-
Notifications
You must be signed in to change notification settings - Fork 511
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
[NativeAOT] Publishing a universal project doesn't produce a universal pkg #19391
Comments
This was fixed here: 5633f4e |
Is this fixed in .NET RC2? I still don't get universal packages if I don't set the |
@tipa the fix is in RC 2. Can you get a binlog? |
Ah, I think I see what's happening, we correctly set Setting
Setting
|
… RuntimeIdentifiers value is set. Fixes #19391. We need to set "UseCurrentRuntimeIdentifier=false", we must only set it for the outer build for universal builds - when `RuntimeIdentifiers` is set - but that means we can only do it *after* we set any default value for `RuntimeIdentifiers`. Fixes #19391 (comment).
Fix is in progress. |
… RuntimeIdentifiers value is set. Fixes #19391. We need to set "UseCurrentRuntimeIdentifier=false", we must only set it for the outer build for universal builds - when `RuntimeIdentifiers` is set - but that means we can only do it *after* we set any default value for `RuntimeIdentifiers`. Fixes #19391 (comment).
…e default RuntimeIdentifiers value is set. Fixes #19391. (#21420) We need to set "UseCurrentRuntimeIdentifier=false", we must only set it for the outer build for universal builds - when `RuntimeIdentifiers` is set - but that means we can only do it *after* we set any default value for `RuntimeIdentifiers`. Fixes #19391 (comment). Backport of #21412 Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
… RuntimeIdentifiers value is set. Fixes #19391. (#21412) We need to set "UseCurrentRuntimeIdentifier=false", we must only set it for the outer build for universal builds - when `RuntimeIdentifiers` is set - but that means we can only do it *after* we set any default value for `RuntimeIdentifiers`. Fixes #19391 (comment).
Repro:
dotnet publish
a macOS project withRuntimeIdentifiers=osx-arm64;osx-x64
The resulting package is here:
instead of here:
msbuild.binlog.zip
Seems like this fixes the problem:
The text was updated successfully, but these errors were encountered: