Closed drepamig closed 2 years ago
This is a known dotnet bug at the moment
There's some workarounds on here https://github.com/dotnet/wpf/issues/6792
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug This behavior happened on a more developed project, but I'm able to reproduce it on a new WPF project.
In a nutshell, I'm unable to build a project when
Splat.DependencyInjection.SourceGenerator
is included in the project. When I do, I get the following errors:The curious thing is this used to work just fine on version
1.1.33
but now, when I revert, it still doesn't work. I've rolled back to an older commit on my main project that DID work, but it still won't build. This leads me to believe it's something with NET6. I'm on SDK6.0.400
. I would have likely been on6.0.300
when I last had a successful build, but I have not yet tested that theory.Steps To Reproduce
Failing Example Project: WpfApp1.zip
Provide the steps to reproduce the behavior:
Expected behavior It should build.
Screenshots
Environment
Additional context