-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
WPF project build breaks because Roslyn Source Generators do not run in WPF inner-build #3963
Comments
Would you consider making this on by default in 6.0 SDK's ? |
@AArnott: I believe you validated with 5.0.102-servicing.20614.17. Can this be closed? Thanks. |
Thanks. |
It took me a while to find this issue, only after finding the comment in Microsoft.WinFX.targets. |
ghost
locked as resolved and limited conversation to collaborators
Apr 10, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
MainWindow.xaml.cs
that depends on the generated code.Expected
No build break
Actual
Build break.
In fact investigating the binary build log reveals that while the outer build's invocation of the
Csc
task provides the "analyzers" that are actually source generators:The inner build invocation of
Csc
does not:The text was updated successfully, but these errors were encountered: