Microsoft.VisualStudio.Validation 17.6.4-alpha

Prefix Reserved
This is a prerelease version of Microsoft.VisualStudio.Validation.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.VisualStudio.Validation --version 17.6.4-alpha                
NuGet\Install-Package Microsoft.VisualStudio.Validation -Version 17.6.4-alpha                
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.6.4-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.VisualStudio.Validation --version 17.6.4-alpha                
#r "nuget: Microsoft.VisualStudio.Validation, 17.6.4-alpha"                
#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.6.4-alpha&prerelease

// Install Microsoft.VisualStudio.Validation as a Cake Tool
#tool nuget:?package=Microsoft.VisualStudio.Validation&version=17.6.4-alpha&prerelease                

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 is compatible.  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.
  • net6.0

    • No dependencies.

NuGet packages (91)

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 3,003,445 11/14/2023
17.6.11 1,782,896 4/1/2023
17.6.4-alpha 3,786 1/27/2023
17.0.71 1,311,047 2/24/2023
17.0.65 794,973 1/5/2023
17.0.64 3,510,492 8/9/2022
17.0.53 1,337,139 5/6/2022
17.0.50 1,807 5/10/2022
17.0.46 55,822 4/27/2022
17.0.43 1,574,447 2/17/2022
17.0.42 2,744 2/17/2022
17.0.34 210,151 10/8/2021
17.0.28 634,630 11/8/2021
17.0.25-alpha 117,297 9/20/2021
17.0.21-alpha 12,847 8/11/2021
17.0.16-alpha 179,041 7/19/2021
17.0.12-alpha 29,346 6/1/2021
17.0.11-alpha 56,816 5/17/2021
16.10.35 1,043,307 9/23/2021
16.10.34 88,728 7/19/2021
16.10.26 1,210,456 6/1/2021
16.9.32 1,361,784 3/11/2021
16.9.28 79,945 3/3/2021
16.9.27-alpha 1,575 1/15/2021
16.8.33 1,710,677 10/23/2020
15.5.31 6,135,531 8/19/2019
15.5.3 14,444 7/23/2019
15.3.58 1,038,013 6/15/2018
15.3.53 15,883 4/20/2018
15.3.32 308,532 8/21/2017
15.3.23 190,794 7/21/2017
15.3.15 5,289,344 5/3/2017
15.0.82 6,476,283 1/30/2017
15.0.75 4,682 1/15/2017
15.0.67 2,242 1/27/2017
15.0.55-pre 151,331 10/13/2016
15.0.11-pre 189,444 3/24/2016
14.1.111 826,509 11/7/2015
14.0.51103 9,153 11/7/2015
14.0.50702 262,833 7/20/2015
14.0.50417-pre 8,912 4/29/2015
12.0.0 62,554 12/17/2015