Microsoft.VisualStudio.Validation 17.6.4-alpha

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"

Showing the top 20 packages that depend on Microsoft.VisualStudio.Validation.

Packages 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).
38
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).
37
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).
37
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).
36
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
35
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).
35
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.
35
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
34

https://github.com/microsoft/vs-validation/releases/tag/v17.6.4-alpha

.NET 6.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
18.7.19 3 11/14/2026
17.13.22 35 09/05/2025
17.8.8 31 02/19/2025
17.6.11 30 02/19/2025
17.6.4-alpha 32 02/19/2025
17.0.71 31 02/19/2025
17.0.65 32 02/19/2025
17.0.64 31 02/19/2025
17.0.53 31 02/19/2025
17.0.50 30 02/19/2025
17.0.46 31 02/19/2025
17.0.43 32 02/19/2025
17.0.42 32 02/19/2025
17.0.34 32 02/19/2025
17.0.28 31 02/19/2025
17.0.25-alpha 31 02/19/2025
17.0.21-alpha 31 02/19/2025
17.0.16-alpha 35 02/19/2025
17.0.12-alpha 31 02/19/2025
17.0.11-alpha 32 02/19/2025
16.10.35 31 02/19/2025
16.10.34 31 02/19/2025
16.10.26 31 02/19/2025
16.9.32 36 02/19/2025
16.9.28 36 02/19/2025
16.9.27-alpha 32 02/19/2025
16.8.33 32 02/19/2025
15.5.31 31 02/19/2025
15.5.3 35 02/19/2025
15.3.58 37 02/19/2025
15.3.53 31 02/19/2025
15.3.32 32 02/19/2025
15.3.23 32 02/19/2025
15.3.15 31 02/19/2025
15.0.82 34 02/19/2025
15.0.75 31 02/19/2025
15.0.67 31 02/19/2025
15.0.55-pre 31 02/19/2025
15.0.11-pre 32 02/19/2025
14.1.111 30 02/19/2025
14.0.51103 31 02/19/2025
14.0.50702 32 02/19/2025
14.0.50417-pre 31 02/19/2025
12.0.0 30 02/19/2025