-
Notifications
You must be signed in to change notification settings - Fork 548
Open
Labels
copilot-candidateenhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancement
Milestone
Description
There are no build warnings or build errors when the assembly names in the $(MtouchInterpreter) property are in the wrong format or if there is no such assembly in the project. It is hard for the developer to diagnose the problem. Customers are likely to run into this issue because of a bug in the docs which suggest listing assemblies with the .dll extension when Xamarin compares comma separated items in the property with the assembly file names without an extension.
Steps to Reproduce
- Create a new iOS app with
dotnet new ios -o TestMtouchInterpreter - Add
<MtouchInterpreter>-all,TestMtouchInterpreter.dll</MtouchInterpreter>based on the documentation (https://learn.microsoft.com/en-us/dotnet/maui/macios/interpreter?view=net-maui-8.0, see Fix mono interpreter examples docs-maui#2141) - Build the app in Release mode
Expected Behavior
The TestMtouchInterpreter.dll assembly is not AOTed and instead it is interpreted.
Actual Behavior
The TestMtouchInterpreter.dll assembly is AOTed and not interpreted.
Other examples of invalid inputs
<MtouchInterpreter>-all,+TestMtouchInterpreter.dll</MtouchInterpreter>Metadata
Metadata
Assignees
Labels
copilot-candidateenhancementThe issue or pull request is an enhancementThe issue or pull request is an enhancement