Skip to content
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

Unable build with WPF project. #1

Closed
Cologler opened this issue Oct 23, 2021 · 1 comment
Closed

Unable build with WPF project. #1

Cologler opened this issue Oct 23, 2021 · 1 comment

Comments

@Cologler
Copy link

Keep this issue until the upstream fix.

To Reproduce

  1. Create a new WPF project;
  2. Install PropertyChanged.SourceGenerator from NuGet;
  3. Add using PropertyChanged.SourceGenerator;
  4. Build failed.

Additional Info

Add <IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation> to .csproj file worked for me.

see dotnet/wpf#3404.

@canton7
Copy link
Owner

canton7 commented Oct 23, 2021

Weird, I wonder why I haven't run into that myself yet.

I think I'm right in thinking that this isn't something I can fix on my side -- it's something the consuming project needs to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants