KEMBAR78
UseInterpreter is set in any project referencing a class library that references MAUI · Issue #21653 · dotnet/maui · GitHub
Skip to content

UseInterpreter is set in any project referencing a class library that references MAUI #21653

@rolfbjarne

Description

@rolfbjarne

Description

The following situation:

  • Create a net8.0 class library that references the Microsoft.Maui.Controls NuGet.
  • Create an executable project that references the class library.
  • The UseInterpreter property is now set to true in the executable project.

Steps to Reproduce

If the executable project is a macOS project (net8.0-macos), then the build fails (dotnet/macios#20398 - which we'll fix on our end, but the fact still remains that MAUI sets UseInterpreter for all platforms).

Link to public reproduction project repository

https://github.com/rolfbjarne/mauitests/tree/main/maui-classlib-macos

Version with bug

8.0.10 SR3

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Binlog: https://github.com/rolfbjarne/mauitests/blob/main/maui-classlib-macos/macos/msbuild.binlog

Metadata

Metadata

Assignees

Labels

area-templatesProject templates, Item Templates for Blazor and MAUIplatform/macosmacOS / Mac Catalystproposal/underconsiderations/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions