Microsoft.VisualStudio.Validation 17.0.53

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).
7
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).
6
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).
5
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).
5
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.
5
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.
4
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.
4
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).
4
StreamJsonRpc
StreamJsonRpc.NuGet
4
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
4

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

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
17.8.8 2 2025/6/8
17.6.11 3 2025/6/10
17.6.4-alpha 3 2025/6/9
17.0.71 1 2025/6/11
17.0.65 3 2025/6/10
17.0.64 7 2025/6/10
17.0.53 1 2025/6/11
17.0.50 2 2025/6/8
17.0.46 1 2025/6/11
17.0.43 1 2025/6/11
17.0.42 2 2025/6/8
17.0.34 2 2025/6/10
17.0.28 2 2025/6/9
17.0.25-alpha 4 2025/6/10
17.0.21-alpha 1 2025/6/11
17.0.16-alpha 2 2025/6/9
17.0.12-alpha 2 2025/6/8
17.0.11-alpha 2 2025/6/8
16.10.35 1 2025/6/11
16.10.34 1 2025/6/8
16.10.26 4 2025/6/9
16.9.32 1 2025/4/17
16.9.28 1 2025/6/11
16.9.27-alpha 1 2025/6/11
16.8.33 3 2025/6/10
15.5.31 2 2025/6/8
15.5.3 2 2025/6/9
15.3.58 2 2025/6/10
15.3.53 2 2025/6/8
15.3.32 1 2025/6/11
15.3.23 1 2025/6/11
15.3.15 1 2025/6/11
15.0.82 2 2025/6/8
15.0.75 2 2025/6/8
15.0.67 1 2025/6/11
15.0.55-pre 2 2025/6/8
15.0.11-pre 2 2025/6/9
14.1.111 2 2025/6/9
14.0.51103 1 2025/4/17
14.0.50702 2 2025/6/10
14.0.50417-pre 2 2025/6/9
12.0.0 3 2025/5/29