ObservableObject attribute doesn't work after update to Visual Studio

Open
#379 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
documentation

Research direction

Start with docs/mvvm/generators/ObservableProperty.md and review the ObservableObject guidance in the context of Visual Studio 17.9.1. Reproduce the reported loss of generated properties in XAML and C#; done means identifying whether the documentation is incorrect or the code issue needs a separate, reproducible report.

Written by the indexing model from the issue text.

Description

dotnet-communitytoolkit/svc mvvm-toolkit/subsvc Pri1
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
Dominant language
No language data
Stars
168
Forks
134
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MicrosoftDocs/CommunityToolkit

All issues in MicrosoftDocs/CommunityToolkit

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.