Powerful INotifyPropertyChanged / INotifyPropertyChanging Source Generator, which generates INPC boilerplate for you as part of your build. Supports features such as automatic and manual dependencies between properties, notifications when specific properties change, and more.
Keep this issue until the upstream fix.
To Reproduce
PropertyChanged.SourceGenerator
from NuGet;using PropertyChanged.SourceGenerator;
Additional Info
Add
<IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation>
to.csproj
file worked for me.see https://github.com/dotnet/wpf/issues/3404.