-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fixed publishing multi-architecture Android builds #17145
Conversation
You can test this PR using the following package version. |
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.
I've lost the count of how many days in my life I spent fiddling with MSBuild targets. Still, it seems that I learn about a new important undocumented property every month :)
LGTM, thanks!
Integration test failures are unrelated. |
Check it instead of DesignTimeBuild
3332f0e
to
d843ae2
Compare
You can test this PR using the following package version. |
pushed update to my test project to show that it works now (it also builds correctly on the actual project) |
This has broken running ControlCatalog.Android on emulator from Rider, considering to revert |
Avalonia now respects the
SkipCompilerExecution
property. This fixes multi-architecture Android builds, in which the path to the intermediate assembly, which has already been transformed once, is passed to each inner build and then transformed again.If compiler execution is being skipped then the presence of compiled output cannot be relied on, so not transforming the assembly paths seems harmless to me. This property check can replace
DesignTimeBuild
as both are passed at the same time.The Android SDK passes the assembly path like this:
Breaking changes
None.
Obsoletions / Deprecations
None.
Fixed issues
Fixes #17099