Microsoft.VisualStudio.Validation 17.0.64

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Standard 2.0
dotnet add package Microsoft.VisualStudio.Validation --version 17.0.64
NuGet\Install-Package Microsoft.VisualStudio.Validation -Version 17.0.64
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.VisualStudio.Validation" Version="17.0.64" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.VisualStudio.Validation --version 17.0.64
#r "nuget: Microsoft.VisualStudio.Validation, 17.0.64"
#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.VisualStudio.Validation as a Cake Addin
#addin nuget:?package=Microsoft.VisualStudio.Validation&version=17.0.64

// Install Microsoft.VisualStudio.Validation as a Cake Tool
#tool nuget:?package=Microsoft.VisualStudio.Validation&version=17.0.64


NuGet package Build Status codecov

This project is available as the Microsoft.VisualStudio.Validation NuGet package.

Basic input validation via the Requires class throws an ArgumentException.

Requires.NotNull(arg1, nameof(arg1));
Requires.NotNullOrEmpty(arg2, nameof(arg2));

State validation via the Verify class throws an InvalidOperationException.

Verify.Operation(condition, "some error occurred.");

Internal integrity checks via the Assumes class throws an InternalErrorException.

Assumes.True(condition, "some error");

Warning signs that should not throw exceptions via the Report class.

Report.IfNot(condition, "some error");
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.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (50)

Showing the top 5 NuGet packages that depend on Microsoft.VisualStudio.Validation:

Package Downloads
Microsoft.VisualStudio.Threading The ID prefix of this package has been reserved for one of the owners of this package by

Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).


PCL Crypto provides a consistent, portable set of crypto APIs for .NET 4.5, Windows Store, Xamarin.iOS, Xamarin.Android. This makes it easier to create cross-platform .NET libraries and apps. Crypto functionality includes asymmetric and symmetric encryption and signatures, and key derivation. PCLCrypto calls into each native platform's crypto API for maximum performance. For RSA operations this produces a 2-100X improvement in performance on Android and iOS over using the standard RSACryptoServiceProvider API.

Microsoft.VisualStudio.Composition The ID prefix of this package has been reserved for one of the owners of this package by

Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition.

Microsoft.VisualStudio.Imaging The ID prefix of this package has been reserved for one of the owners of this package by

A member of the Visual Studio SDK


Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.

GitHub repositories (66)

Showing the top 5 popular GitHub repositories that depend on Microsoft.VisualStudio.Validation:

Repository Stars
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
Stride Game Engine (formerly Xenko)
Pure C# IL Intepreter Runtime, which is fast and reliable for scripting requirement on enviorments, where jitting isn't possible.
Sandcastle Help File Builder (SHFB). A standalone GUI, Visual Studio integration package, and MSBuild tasks providing full configuration and extensibility for building help files with the Sandcastle tools.
Version Downloads Last updated
17.0.64 75,145 8/9/2022
17.0.53 261,372 5/6/2022
17.0.50 275 5/10/2022
17.0.46 15,326 4/27/2022
17.0.43 420,592 2/17/2022
17.0.42 469 2/17/2022
17.0.34 132,870 10/8/2021
17.0.28 152,406 11/8/2021
17.0.25-alpha 66,921 9/20/2021
17.0.21-alpha 8,881 8/11/2021
17.0.16-alpha 57,113 7/19/2021
17.0.12-alpha 21,621 6/1/2021
17.0.11-alpha 41,713 5/17/2021
16.10.35 456,214 9/23/2021
16.10.34 60,569 7/19/2021
16.10.26 252,208 6/1/2021
16.9.32 748,506 3/11/2021
16.9.28 48,602 3/3/2021
16.9.27-alpha 751 1/15/2021
16.8.33 1,061,649 10/23/2020
15.5.31 3,727,655 8/19/2019
15.5.3 12,357 7/23/2019
15.3.58 822,855 6/15/2018
15.3.53 13,795 4/20/2018
15.3.32 291,133 8/21/2017
15.3.23 189,563 7/21/2017
15.3.15 3,433,545 5/3/2017
15.0.82 2,389,358 1/30/2017
15.0.75 3,504 1/15/2017
15.0.67 1,303 1/27/2017
15.0.55-pre 149,312 10/13/2016
15.0.11-pre 186,428 3/24/2016
14.1.111 754,606 11/7/2015
14.0.51103 5,952 11/7/2015
14.0.50702 251,151 7/20/2015
14.0.50417-pre 8,002 4/29/2015
12.0.0 22,756 12/17/2015