Microsoft.VisualStudio.Validation
17.6.4-alpha
Prefix Reserved
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
<PackageReference Include="Microsoft.VisualStudio.Validation" Version="17.6.4-alpha" />
<PackageVersion Include="Microsoft.VisualStudio.Validation" Version="17.6.4-alpha" />
<PackageReference Include="Microsoft.VisualStudio.Validation" />
paket add Microsoft.VisualStudio.Validation --version 17.6.4-alpha
#r "nuget: Microsoft.VisualStudio.Validation, 17.6.4-alpha"
#:package Microsoft.VisualStudio.Validation@17.6.4-alpha
#addin nuget:?package=Microsoft.VisualStudio.Validation&version=17.6.4-alpha&prerelease
#tool nuget:?package=Microsoft.VisualStudio.Validation&version=17.6.4-alpha&prerelease
Microsoft.VisualStudio.Validation
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 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. |
-
.NETStandard 2.0
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages (100)
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). |
|
|
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. |
|
|
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc. |
|
|
Microsoft.VisualStudio.Composition
Lightning fast MEF engine, supporting System.ComponentModel.Composition and System.Composition. |
|
|
Microsoft.VisualStudio.Threading.Only
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). This package contains only the library, without a dependency on the analyzers. Use the Microsoft.VisualStudio.Threading package to get the library and analyzers together. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 17.13.22 | 680,632 | 8/9/2025 |
| 17.8.8 | 24,756,319 | 11/14/2023 |
| 17.6.11 | 2,973,182 | 4/1/2023 |
| 17.6.4-alpha | 5,438 | 1/27/2023 |
| 17.0.71 | 2,163,212 | 2/24/2023 |
| 17.0.65 | 1,084,514 | 1/5/2023 |
| 17.0.64 | 8,319,336 | 8/9/2022 |
| 17.0.53 | 1,990,919 | 5/6/2022 |
| 17.0.50 | 4,582 | 5/10/2022 |
| 17.0.46 | 61,247 | 4/27/2022 |
| 17.0.43 | 2,118,321 | 2/17/2022 |
| 17.0.42 | 6,054 | 2/17/2022 |
| 17.0.34 | 238,403 | 10/8/2021 |
| 17.0.28 | 960,363 | 11/8/2021 |
| 17.0.25-alpha | 127,869 | 9/20/2021 |
| 17.0.21-alpha | 18,748 | 8/11/2021 |
| 16.10.35 | 1,396,036 | 9/23/2021 |
| 16.10.34 | 108,985 | 7/19/2021 |