Replies: 1 comment 3 replies
-
|
Are you able to share a minimal repro? |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
Hello everyone, I have scoured Google in search of anyone experiencing the same problem, but I haven't found anything - so I'm making this discussion post to see if anyone has any ideas how to solve this problem or figure out more details before creating a full issue.
Project Setup
WPF Application targeting .NET 8 for Windows, using Visual Studio 2022.
Also referencing some Serilog packages and WPF-UI, but I don't think those are relevant.
What Works
When referencing CommunityToolkit.Mvvm package at version 8.4.0 (or below), everything works as it should: Properties for fields have observable properties generated for them, etc. No issues while editing, builds work fine too.
Problem
When updating the package to version 8.4.1 or 8.4.2, the source generator doesn't seem to be working properly anymore. Me and multiple other people across multiple projects are not getting the observable properties generated during editing. This means Visual Studio constantly complains about those being missing wherever they're used (hundreds to thousands of errors with a lot of files open) - but everything works perfectly fine when compiling.
Curiously, the new versions are working fine for someone using Visual Studio 2026 - whether he's using that or Visual Studio 2022.
I also tried clearing the cache, deleting the bin/obj folders, etc., but it keeps coming up with the missing properties during editing.
Beta Was this translation helpful? Give feedback.
All reactions