Skip to content
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

.NET MAUI 9: Feature switch to enable compiled bindings with source #2528

Open
davidbritch opened this issue Sep 27, 2024 · 2 comments
Open
Labels
🏁 Release: .NET 9 Work items for the .NET 9 release Pri3

Comments

@davidbritch
Copy link
Contributor

In .NET MAUI 9, there's a IsXamlCBindingWithSourceCompilationEnabled feature switch that's disabled by default unless the app is built with NativeAOT, or full trimming.

More info: dotnet/maui#24924 (targets RC2)

@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Sep 27, 2024
@davidbritch davidbritch added 🏁 Release: .NET 9 Work items for the .NET 9 release and removed Pri3 ⌚ Not Triaged Not triaged labels Sep 27, 2024
@dotnetrepoman dotnetrepoman bot added ⌚ Not Triaged Not triaged labels Sep 27, 2024
@jonathanpeppers
Copy link
Member

There are a whole list of switches here:

Most of these take the approach:

  • By default they are off, so trying not to break anyone and keep existing behavior.
  • If a project uses TrimMode=full (Mono, but link everything) or PublishAot=true (NativeAOT) all these switches are turned on in order to solve many trimming warnings. These may change behavior, which is the point of them.

Overall, I don't know if we need to document all of them in detail. @simonrozsival might want to weigh in, if some are more important than others.

@davidbritch
Copy link
Contributor Author

@jonathanpeppers Already done via another PR (just isn't live because it's in an include file, for including in the new trimming doc).

@davidbritch davidbritch removed the ⌚ Not Triaged Not triaged label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏁 Release: .NET 9 Work items for the .NET 9 release Pri3
Projects
None yet
Development

No branches or pull requests

2 participants