-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Update to version 3.x breaks Avalonia projects #260
Comments
It's not The I'm not familiar with The theoretical fix here should be to remove this dependency, as running before This could also be fixed on the Avalonia side by depending directly on |
When we add items/propeties that need to be visible to the generators, we only really need to run before the editorconfig is emitted, and no earlier. This happens right before compilation, so it's a safe late-stage target to depend on. We cannot run later since that would mean outdated info to the generator, but this should avoid early-run issues such as devlooped/GitInfo#260.
When we add items/propeties that need to be visible to the generators, we only really need to run before the editorconfig is emitted, and no earlier. This happens right before compilation, so it's a safe late-stage target to depend on. We cannot run later since that would mean outdated info to the generator, but this should avoid early-run issues such as devlooped/GitInfo#260.
When we add items/propeties that need to be visible to the generators, we only really need to run before the editorconfig is emitted, and no earlier. This happens right before compilation, so it's a safe late-stage target to depend on. We cannot run later since that would mean outdated info to the generator, but this should avoid early-run issues such as devlooped/GitInfo#260.
Thanks a lot @MrJul for the analysis! It was key to finding out a quick fix :) |
Describe the Bug
Updating from 2.x to 3.x breaks Avalonia projects.
App crashes at launch, it seems that xaml content (files?) cannot be loaded.
Steps to Reproduce
Ready to use sample: https://github.com/enegs/GitInfo3UpdateBreaksAvaloniaApp
Expected Behavior
App should load and run.
Exception with Stack Trace
Version Info
GitInfo 3.0.2 or 3.0.4
Avalonia 0.10.18
.NET 6.0 or .NET 7.0
Additional Info
<GitVersion>false</GitVersion>
does not solve the issue.The text was updated successfully, but these errors were encountered: