Skip to content

MVVM template default MVVM framework mismatch: README says ReactiveUI by default, but template generates CommunityToolkit.Mvvm #322

@xbtart

Description

@xbtart

Describe the bug

According to the repository README, --mvvm has options ReactiveUI and CommunityToolkit and the default is ReactiveUI.
However, when I install the templates and create an MVVM project with 'dotnet new avalonia.mvvm -o MyApp2', the generated project references CommunityToolkit.Mvvm by default and the ViewModel base/types match CommunityToolkit (e.g., ObservableObject, [RelayCommand], etc.).

To Reproduce

dotnet new install Avalonia.Templates
then
dotnet new avalonia.mvvm -o MyApp2

Avalonia Templates version

11.3.11

Avalonia version

11.3.11

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions