CommunityToolkit / CommunityToolkit/dotnet
CommunityToolkit.MVVM 8.4.1 and 8.4.2 seems to break intellisense on VS2022
- Dominant language
- C#
- Stars
- 3.8k
- Forks
- 400
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
when updating from CT 8.4.0 to 8.4.1 or 8.4.2, intellisense starts showing red squiggles on all the ObservableProperties.
I know this is probably not your fault, probably an Intellisense problem, feel free to close it. At least will be useful as a reference for other users.
### Regression
_No response_
### Steps to reproduce
Given the following environment (NET 9, VS2022 17.14.31 , CT.MVVM 8.4.0 )
[ObservableProperty] private string _searchText = string.Empty;
...
SearchText = "hello";
Compile, no intellisense problems.
Change CT.MVVM to 8.4.2.
Compile, intellisense shows squiggly lines.
### Expected behavior
Not showing red lines.
### Screenshots
_No response_
### IDE and version
VS 2022
### IDE version
17.14.31
### Nuget packages
- [ ] CommunityToolkit.Common
- [ ] CommunityToolkit.Diagnostics
- [ ] CommunityToolkit.HighPerformance
- [x] CommunityToolkit.Mvvm (aka MVVM Toolkit)
### Nuget package version(s)
8.4.2
### Additional context
_No response_
### Help us help you
No, just wanted to report this
Contributor guide
Assessment
This issue has not been assessed yet.