-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add prefer native arm64 flag #10134
Add prefer native arm64 flag #10134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flushing comments after the first pass. Looks great overall!
2ce6e5e
to
eb1986c
Compare
I have found a couple of issues when testing this PR in VS end to end.
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application> The
|
For the second point it would require special handling in VS by project systems - where on checking PreferNativeArm64 The first one was fixed here: 170409a |
I believe we do plan to implement some of this logic in Visual Studio project properties UI.
So things should work well in VS because VS adds My proposal is to update the condition here to test if
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the updates, I am leaving a few more comments inline.
9f04806
to
bdb3aba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Fixes #10060
Context
Related changes in SDK: dotnet/sdk#40895
Changes Made
Added new target and task to handle the cases when PreferNativeArm64 is specified.
Testing
Unit tests + e2e that check that modified manifest is embedded in the final dll.