IPhoneResourcePrefix maybe supports multiple prefixes, but not all the logic does #20968
Labels
enhancement
The issue or pull request is an enhancement
Milestone
Steps to Reproduce
In theory, you can have multiple resource prefixes with IPhoneResourcePrefix, separated by a semi-colon:
It looks like our code supports this (that's the intention at least), but I've never seen it done, and we don't have tests for this, so YMMV... but if it works, it would be a much simpler solution.
But, I see this:
xamarin-macios/dotnet/targets/Microsoft.Sdk.DefaultItems.template.props
Line 62 in 76769f1
Set by
xamarin-macios/msbuild/Xamarin.Shared/Xamarin.Shared.props
Line 115 in 76769f1
Hm yeah, using _ResourcePrefix in an Include like that won't work as expected with multiple resource prefixes.
You could try updating _ResourcePrefix just before CollectBundleResources to see if that works. I'd want to implement a proper fix though, probably make that Include work with multiple resource prefixes, so the idea would for it to be a temporary workaround.
The text was updated successfully, but these errors were encountered: