WPF App: CS0579 and CS0111 Build Errors #371
markolbert
started this conversation in
General
Replies: 2 comments 1 reply
-
Hi @markolbert , the Windows Community Toolkit only works with UWP and WinUI3 - not WPF. The .NET MVVM Toolkit is the successor of the Windows Community MVVM package. This one is framework agnostic and will work with WPF: https://docs.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems like this may be a duplicate of #343 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a WPF app which used to build fine in December 2021 but is now throwing errors I don't recall seeing before and don't know how to resolve.
The CS0579 errors all stem from one file that appears to be generated by the toolkit:
The CS0579 errors are asserting the various attributes on that partial class are duplicates.
The CS0111 errors are showing up in other files generated by the toolkit. They come in pairs, two for each of 8 files in my project:
The errors assert that these generated methods duplicate existing ones:
Any clues as to what may be going wrong and how to fix it would be most appreciated.
Beta Was this translation helpful? Give feedback.
All reactions