Microsoft.Toolkit.Mvvm 7.1.2

.NET 5.0 .NET Standard 2.0
Suggested Alternatives

CommunityToolkit.Mvvm

Additional Details

The MVVM Toolkit has now migrated to the CommunityToolkit.Mvvm package

dotnet add package Microsoft.Toolkit.Mvvm --version 7.1.2
NuGet\Install-Package Microsoft.Toolkit.Mvvm -Version 7.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Toolkit.Mvvm" Version="7.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Toolkit.Mvvm --version 7.1.2
#r "nuget: Microsoft.Toolkit.Mvvm, 7.1.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Toolkit.Mvvm as a Cake Addin
#addin nuget:?package=Microsoft.Toolkit.Mvvm&version=7.1.2

// Install Microsoft.Toolkit.Mvvm as a Cake Tool
#tool nuget:?package=Microsoft.Toolkit.Mvvm&version=7.1.2

This package includes a .NET Standard MVVM library with helpers such as:
     - ObservableObject: a base class for objects implementing the INotifyPropertyChanged interface.
     - ObservableRecipient: a base class for observable objects with support for the IMessenger service.
     - ObservableValidator: a base class for objects implementing the INotifyDataErrorInfo interface.
     - RelayCommand: a simple delegate command implementing the ICommand interface.
     - AsyncRelayCommand: a delegate command supporting asynchronous operations and cancellation.
     - WeakReferenceMessenger: a messaging system to exchange messages through different loosely-coupled objects.
     - StrongReferenceMessenger: a high-performance messaging system that trades weak references for speed.
     - Ioc: a helper class to configure dependency injection service containers.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (20)

Showing the top 5 NuGet packages that depend on Microsoft.Toolkit.Mvvm:

Package Downloads
HTools

工具库

CEDFDList

Package Description

ConnectionBase

Package Description

XControls.Utilities

Essential utilities for wpf application including Property Change Implementation,relay command etc.

RunBase

Package Description

GitHub repositories (24)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Toolkit.Mvvm:

Repository Stars
veler/DevToys
A Swiss Army knife for developers.
felixse/FluentTerminal
A Terminal Emulator based on UWP and web technologies.
CommunityToolkit/WindowsCommunityToolkit
The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.
ModernFlyouts-Community/ModernFlyouts
A modern Fluent Design replacement for the old Metro themed flyouts present in Windows.
Pixeval/Pixeval
Wow. Yet another Pixiv client!
Version Downloads Last updated
7.1.2 344,286 11/18/2021
7.1.1 41,252 10/19/2021
7.1.0 37,217 9/23/2021
7.1.0-rc2 607 9/17/2021
7.1.0-rc1 928 8/30/2021
7.1.0-preview1 649 8/5/2021
7.0.2 150,295 5/12/2021
7.0.1 28,141 3/29/2021
7.0.0 25,103 3/11/2021
7.0.0-preview5 5,115 2/24/2021
7.0.0-preview4 18,425 11/12/2020
7.0.0-preview3 5,047 10/7/2020
7.0.0-preview2 5,426 8/11/2020