Microsoft.Toolkit.Diagnostics 7.1.2

Suggested Alternatives


Additional Details

The Diagnostics package has now migrated to the CommunityToolkit.Diagnostics identity

dotnet add package Microsoft.Toolkit.Diagnostics --version 7.1.2
NuGet\Install-Package Microsoft.Toolkit.Diagnostics -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.Diagnostics" 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.Diagnostics --version 7.1.2
#r "nuget: Microsoft.Toolkit.Diagnostics, 7.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Toolkit.Diagnostics as a Cake Addin
#addin nuget:?package=Microsoft.Toolkit.Diagnostics&version=7.1.2

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

This package includes .NET Standard code only helpers such as:
       - Guard: Helper methods to verify conditions when running code.
       - ThrowHelper: Helper methods to efficiently throw exceptions.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.4 is compatible.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (14)

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

Package Downloads

Smart responsive images in EPiServer with ImageResizing.Net and Focal point


Dtos for MSIm Api


This library allows to run commands in a testable way: executor.Execute(command); Read more from here:


ニコニコ動画/生放送の.Net向けサードパーティライブラリです。 - Account (Login with mail/password) - Video (Play, Comment) - Activity (Video History) - Channels (Videos) - Follow (Tag, User, Mylist, Channel, Community) - Likes (Video) - Live (Play, Comment, TimeShift) - Mylist (List videos, Edit MylistGroup) - NicoRepo - Ranking (Video) - Series (List videos) - User - SnapshotSearchV2 (Video) - Search (Video/Mylist/Live)

ByteTerrace.Ouroboros.Database The ID prefix of this package has been reserved for one of the owners of this package by

Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Microsoft.Toolkit.Diagnostics:

Repository Stars
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.
An all-in-one scanner app built for the Universal Windows Platform
Combine any music sources into a single library. It's your music. Play it your way.
Version Downloads Last updated
7.1.2 1,028,504 11/18/2021
7.1.1 50,152 10/19/2021
7.1.0 61,972 9/23/2021
7.1.0-rc2 290 9/17/2021
7.1.0-rc1 491 8/30/2021
7.1.0-preview1 274 8/5/2021
7.0.2 123,021 5/12/2021
7.0.1 2,325 3/29/2021
7.0.0 7,780 3/11/2021
7.0.0-preview5 791 2/24/2021