Skip to content

CommunityToolkit.MVVM 8.4.1 and 8.4.2 seems to break intellisense on VS2022 #1194

Description

@jordi-z80

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
  • 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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛An unexpected issue that highlights incorrect behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions