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

Name Generator should ignore non Avalonia xaml files (Maui Hybrid) #12855

Closed
maxkatz6 opened this issue Sep 11, 2023 · 0 comments · Fixed by #13001
Closed

Name Generator should ignore non Avalonia xaml files (Maui Hybrid) #12855

maxkatz6 opened this issue Sep 11, 2023 · 0 comments · Fixed by #13001

Comments

@maxkatz6
Copy link
Member

Describe the bug

XAML files are automatically added to the AdditionalFiles collection to be used in source generator.
But MAUI does the same for its own needs, and we have a conflict where Avalonia Name Generator tries to parse MAUI XAML files.
See AvaloniaUI/AvaloniaMauiHybrid#8

To Reproduce
Steps to reproduce the behavior:

  1. Create project with XAML files from Avalonia AND Maui.

Expected behavior

Name generator works without crashing.

github-merge-queue bot pushed a commit that referenced this issue Sep 23, 2023
* Fix #12841 by not putting stacktrace in the error message

* Respect SourceItemGroupMetadata to fix #12855

* Fix Generators.Sandbox
grokys pushed a commit that referenced this issue Oct 2, 2023
* Fix #12841 by not putting stacktrace in the error message

* Respect SourceItemGroupMetadata to fix #12855

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

Successfully merging a pull request may close this issue.

1 participant