dotnet icon indicating copy to clipboard operation
dotnet copied to clipboard

.NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and par...

Results 252 dotnet issues
Sort by recently updated
recently updated
newest added

### Overview Hi, I'm migrating some old C# ViewModel code to use the [ObservableProperty] attribute on all the properties. I'd like to convert the following code: ```csharp private string _windowTitle;...

feature request :mailbox_with_mail:

### Overview A command is a syntactic sugar for methods defined in the ViewModel. It is made available as a property to enable binding. As the ViewModel can inherit, so...

feature request :mailbox_with_mail:

### Overview I wonder if this has been considered before, we often have complex POCO entity graphs which we want to reuse in our XAML app. It would be so...

feature request :mailbox_with_mail:

### Describe the bug I'm developing a WinUI application with Community Toolkit MVVM 8.4.0. I switched the properties in my application to use the new format. Here's one example: ```...

bug :bug:

### Describe the bug The inheritdoc xml documentation tag is designed for derived members. Partial properties are not derived members, they are implementations. By including this tag on partial properties,...

bug :bug:

### Overview I’m using the MVVM Community Toolkit to keep a ViewModel synchronized with a Model, handling both properties and collections. The `[ObservableProperty]` attribute already simplifies `INotifyPropertyChanged` implementation, but bidirectional...

feature request :mailbox_with_mail:

### Describe the bug RelayCommand generates code that violates [CA1708](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1708) ``` private global::CommunityToolkit.Mvvm.Input.AsyncRelayCommand? editCommand; public global::CommunityToolkit.Mvvm.Input.IAsyncRelayCommand EditCommand => editCommand ??= new global::CommunityToolkit.Mvvm.Input.AsyncRelayCommand(new global::System.Func(EditAsync), CanEdit); ``` but should be: ``` private...

bug :bug:

### Describe the bug The ExecutionTask and IsRunning of the AsyncRelayCommand is only set after the execute returns a Task, so on the first real async function. As long as...

bug :bug:

### Overview The `System.Buffers.ArrayBufferWriter` class has a `ResetWrittenCount` method, which resets the write position to zero without clearing the buffer, thus allowing a writer to be reused without clearing the...

feature request :mailbox_with_mail:

### Describe the bug Using `ObservableValidator` in a .NET Framework application plugin leads to `System.IO.FileNotFoundException`: Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies....

bug :bug: