Microsoft.VisualStudio.Validation 17.0.46

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.VisualStudio.Validation --version 17.0.46                
NuGet\Install-Package Microsoft.VisualStudio.Validation -Version 17.0.46                
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.46" />                
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.46                
#r "nuget: Microsoft.VisualStudio.Validation, 17.0.46"                
#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.VisualStudio.Validation as a Cake Addin
#addin nuget:?package=Microsoft.VisualStudio.Validation&version=17.0.46

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

Microsoft.VisualStudio.Validation

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.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 tizen40 was computed.  tizen60 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.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (90)

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

Package Downloads
Microsoft.VisualStudio.Threading

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

Microsoft.VisualStudio.Utilities

A member of the Visual Studio SDK

StreamJsonRpc

A cross-platform .NETStandard library that implements the JSON-RPC wire protocol and can use System.IO.Stream, System.IO.Pipelines or WebSocket so you can use it with any transport.

Microsoft.VisualStudio.Composition

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 (72)

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

Repository Stars
stride3d/stride
Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
DGP-Studio/Snap.Hutao
实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
Ourpalm/ILRuntime
Pure C# IL Intepreter Runtime, which is fast and reliable for scripting requirement on enviorments, where jitting isn't possible.
SciSharp/LLamaSharp
A C#/.NET library to run LLM (🦙LLaMA/LLaVA) on your local device efficiently.
SciSharp/BotSharp
AI Multi-Agent Framework in .NET
Version Downloads Last updated
17.8.8 2,349,279 11/14/2023
17.6.11 1,639,979 4/1/2023
17.6.4-alpha 3,631 1/27/2023
17.0.71 1,262,362 2/24/2023
17.0.65 766,078 1/5/2023
17.0.64 3,019,633 8/9/2022
17.0.53 1,280,628 5/6/2022
17.0.50 1,784 5/10/2022
17.0.46 55,176 4/27/2022
17.0.43 1,523,222 2/17/2022
17.0.42 2,658 2/17/2022
17.0.34 208,258 10/8/2021
17.0.28 601,368 11/8/2021
17.0.25-alpha 115,942 9/20/2021
17.0.21-alpha 12,356 8/11/2021
17.0.16-alpha 177,987 7/19/2021
17.0.12-alpha 28,867 6/1/2021
17.0.11-alpha 56,478 5/17/2021
16.10.35 1,007,626 9/23/2021
16.10.34 87,281 7/19/2021
16.10.26 1,191,651 6/1/2021
16.9.32 1,342,098 3/11/2021
16.9.28 79,568 3/3/2021
16.9.27-alpha 1,563 1/15/2021
16.8.33 1,669,812 10/23/2020
15.5.31 6,000,466 8/19/2019
15.5.3 14,398 7/23/2019
15.3.58 1,033,581 6/15/2018
15.3.53 15,765 4/20/2018
15.3.32 308,159 8/21/2017
15.3.23 190,756 7/21/2017
15.3.15 5,184,544 5/3/2017
15.0.82 6,056,669 1/30/2017
15.0.75 4,650 1/15/2017
15.0.67 2,215 1/27/2017
15.0.55-pre 151,239 10/13/2016
15.0.11-pre 189,342 3/24/2016
14.1.111 821,457 11/7/2015
14.0.51103 9,094 11/7/2015
14.0.50702 262,311 7/20/2015
14.0.50417-pre 8,889 4/29/2015
12.0.0 62,027 12/17/2015