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

(11.0 only) Roots.xml file should be removed from all templates #167

Closed
maxkatz6 opened this issue Feb 24, 2023 · 0 comments · Fixed by #170
Closed

(11.0 only) Roots.xml file should be removed from all templates #167

maxkatz6 opened this issue Feb 24, 2023 · 0 comments · Fixed by #170

Comments

@maxkatz6
Copy link
Member

Roots.xml was needed to make sure that trimming and AOT works. Now with preview5 it's not needed anymore.
Instead, to keep user applications non-trimmable, it might make sense to add TrimmableRootAssembly to the csproj instead targeting current project and same comment about compiled bindings as here https://github.com/AvaloniaUI/avalonia-dotnet-templates/blob/master/templates/csharp/app-mvvm/Roots.xml#L2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant