Closed warappa closed 2 years ago
Sounds like this WPF bug. Does this workaround work? See also https://github.com/canton7/PropertyChanged.SourceGenerator/discussions/19.
Wow, that was fast - and you are totally right, it's a WPF bug!
It works with the fix referenced!
Good to hear! I've added a note to the README, although it's probably fixed in a released VS version by now.
Description If I create a fresh .NET 6 WPF application, install this package, add the required
IncludePackageReferencesDuringMarkupCompilation
and run it, many build errors orrur.Cleaning, rebuilding, or even restarting Visual Studio did not change outcome.
To Reproduce
<IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation>
Error Messages
Version Info
preview
)Additional Info Visual Studio 2022 (17.4.0 Preview 1) Tried with .NET
7.0.0-preview.3.22175.4
and6.0.400
(viaglobal.json
).dotnet --info