CommunityToolkit / CommunityToolkit/dotnet

Property not found error in XAML

Open
#732 1 comment 0 reactions 0 assignees View on GitHub
bug :bug:
Dominant language
C#
Stars
3.8k
Forks
400
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

The famous 8.x bug of the invalid property during editing now (8.2.1) seems to be present only for RelayCommand:

![Screenshot 2023-07-07 140948](https://github.com/CommunityToolkit/dotnet/assets/50824617/905db474-87d0-402d-bcee-6c24a0c7e03f)

As you can see, other VM.XXX attributes are ok. No underlined errors neither in cs file.

So we should be almost there with the final fix...

### Regression

_No response_

### Steps to reproduce

```text
Random, working on a MVVM dialog...
```

### Expected behavior

No underlines in source, if code is correctly built.

### Screenshots

_No response_

### IDE and version

VS 2022

### IDE version

17.6.4

### Nuget packages

- [ ] CommunityToolkit.Common
- [ ] CommunityToolkit.Diagnostics
- [ ] CommunityToolkit.HighPerformance
- [X] CommunityToolkit.Mvvm (aka MVVM Toolkit)

### Nuget package version(s)

8.2.1

### Additional context

_No response_

### Help us help you

No, just wanted to report this

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.