Uh oh!
There was an error while loading. Please reload this page.
[mono] Clean up internal usage of RuntimeComponents to always be treated as MSBuild Item - #91800
Conversation
ghost
commented
Sep 8, 2023
Tagging subscribers to this area: @directhex Issue DetailsThis PR cleans up the internal usage of This PR:
Follow-up tasks:
|
ivanpovazan
commented
Sep 8, 2023
jandupej
left a comment
There was a problem hiding this comment.
This is a welcome simplification. Thanks!
ivanpovazan
commented
Sep 8, 2023
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Uh oh!
There was an error while loading. Please reload this page.
ivanpovazan
commented
Sep 13, 2023
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ivanpovazan
commented
Oct 5, 2023
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
0ec903e to
df3e41bCompareUh oh!
There was an error while loading. Please reload this page.
steveisok
left a comment
There was a problem hiding this comment.
LGTM! Thanks for refactoring and making this more straightforward.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
ivanpovazan
commented
Oct 18, 2023
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ivanpovazan
commented
Oct 18, 2023
Failures don't seem to be related |
This PR cleans up the internal usage of
RuntimeComponentswhere in some places it is used as a MSBuildPropertyand in others as anItem, which can lead to unexpected behaviours during app builds for bothAndroidandiOS-likeplatforms and additionally imposes unnecessary complication of treating them dually in different places.This PR:
*which previously meant to include all supported components (this was probably the reason to use aPropertyin the first place).BREAKING CHANGE- however I did not find any internal usage of said feature (I might be wrong though).UseAllRuntimeComponentsMSBuild property which when set totrueincludes all supported components by parsing theRuntimeComponentManifest.jsonfile and populatingRuntimeComponentsItem in_InitializeCommonPropertiestarget (in both:AppleBuild.targetsandAndroidBuild.targets)RuntimeComponentsto be treated as MSBuildItemdiagnostic tracingRuntimeComponentManifest.targetsfor local builds and testing to retrieve available runtime componentsFollow-up tasks:
AndroidSampleAppto useAndroidBuild.targetsdirectly instead of manually inferring build tasks and targets