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

ObservableObject attribute doesn't work after update to Visual Studio #379

Open
JNickVA1 opened this issue Feb 26, 2024 · 2 comments
Open

Comments

@JNickVA1
Copy link

Type of issue

Code doesn't work

Description

After I updated Visual Studio to Version 17.9.1, the ObservableObject attribute no longer seems to work. None of my properties that were accessible previously are available now in my xaml or in the same C# code where the properties are defined.

Page URL

https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/generators/observableproperty?source=recommendations

Content source URL

https://github.com/MicrosoftDocs/CommunityToolkit/blob/main/docs/mvvm/generators/ObservableProperty.md

Document Version Independent Id

baa399f1-fe73-add4-df84-b99a29fb4083

Article author

@Sergio0694

Metadata

  • ID: baa399f1-fe73-add4-df84-b99a29fb4083
  • Service: dotnet-communitytoolkit
  • Sub-service: mvvm-toolkit
@bijington
Copy link
Collaborator

Have you tried doing a clean and rebuild. And if that doesn't work deleting the bin and obj folders and then rebuilding?

@JNickVA1
Copy link
Author

I have done a Clean and Build, deleted the bin and obj folders, and everything else I can think of. Apparently, I'm not the one developer having issues after updating Visual Studio to 17.9.1. Several others who also use the CommunityToolkit.Mvvm have experienced similar issues. The only recourse was to rollback to 17.8.5.

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

No branches or pull requests

2 participants