Microsoft.VisualStudio.Validation 17.0.53 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET Standard 2.0
Install-Package Microsoft.VisualStudio.Validation -Version 17.0.53
dotnet add package Microsoft.VisualStudio.Validation --version 17.0.53
<PackageReference Include="Microsoft.VisualStudio.Validation" Version="17.0.53" />
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.53
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.VisualStudio.Validation, 17.0.53"
#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.53

// Install Microsoft.VisualStudio.Validation as a Cake Tool
#tool nuget:?package=Microsoft.VisualStudio.Validation&version=17.0.53
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Microsoft.VisualStudio.Validation

NuGet package Build Status codecov

This project is available as the [Microsoft.VisualStudio.Validation][1] 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");

[1]: http://nuget.org/packages/Microsoft.VisualStudio.Validation "Microsoft.VisualStudio.Validation NuGet package"

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
.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 (51)

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 NuGet.org.

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).

PCLCrypto

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.Imaging The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A member of the Visual Studio SDK

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

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

Nerdbank.Streams

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

GitHub repositories (65)

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

Repository Stars
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
unoplatform/uno
Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
stride3d/stride
Stride Game Engine (formerly Xenko)
Ourpalm/ILRuntime
Pure C# IL Intepreter Runtime, which is fast and reliable for scripting requirement on enviorments, where jitting isn't possible.
EWSoftware/SHFB
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.53 5,519 5/6/2022
17.0.50 59 5/10/2022
17.0.46 3,968 4/27/2022
17.0.43 119,167 2/17/2022
17.0.42 152 2/17/2022
17.0.34 83,745 10/8/2021
17.0.28 68,732 11/8/2021
17.0.25-alpha 35,263 9/20/2021
17.0.21-alpha 6,638 8/11/2021
17.0.16-alpha 27,155 7/19/2021
17.0.12-alpha 19,772 6/1/2021
17.0.11-alpha 34,828 5/17/2021
16.10.35 287,398 9/23/2021
16.10.34 50,722 7/19/2021
16.10.26 88,009 6/1/2021
16.9.32 524,332 3/11/2021
16.9.28 32,947 3/3/2021
16.9.27-alpha 630 1/15/2021
16.8.33 832,674 10/23/2020
15.5.31 2,974,094 8/19/2019
15.5.3 11,660 7/23/2019
15.3.58 769,567 6/15/2018
15.3.53 13,261 4/20/2018
15.3.32 285,643 8/21/2017
15.3.23 189,176 7/21/2017
15.3.15 3,070,555 5/3/2017
15.0.82 1,870,445 1/30/2017
15.0.75 3,267 1/15/2017
15.0.67 1,151 1/27/2017
15.0.55-pre 149,178 10/13/2016
15.0.11-pre 186,201 3/24/2016
14.1.111 730,849 11/7/2015
14.0.51103 5,310 11/7/2015
14.0.50702 244,690 7/20/2015
14.0.50417-pre 7,886 4/29/2015
12.0.0 21,209 12/17/2015