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).
138
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).
140
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).
143
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).
146
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).
147
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).
149
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).
153
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).
155
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).
188
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.
148
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
138
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
144
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
145

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
17.13.22 68 08/09/2025
17.8.8 127 07/18/2024
17.6.11 108 07/19/2024
17.6.4-alpha 127 07/19/2024
17.0.71 107 07/19/2024
17.0.65 107 07/19/2024
17.0.64 97 07/19/2024
17.0.53 117 07/19/2024
17.0.50 113 07/19/2024
17.0.46 123 07/19/2024
17.0.43 117 07/19/2024
17.0.42 115 07/19/2024
17.0.34 117 07/19/2024
17.0.28 103 07/19/2024
17.0.25-alpha 124 07/19/2024
17.0.21-alpha 124 07/19/2024
17.0.16-alpha 101 07/19/2024
17.0.12-alpha 100 07/19/2024
17.0.11-alpha 106 07/19/2024
16.10.35 114 07/19/2024
16.10.34 99 07/19/2024
16.10.26 104 07/19/2024
16.9.32 132 07/19/2024
16.9.28 102 07/19/2024
16.9.27-alpha 105 07/19/2024
16.8.33 104 07/19/2024
15.5.31 112 07/19/2024
15.5.3 114 07/19/2024
15.3.58 110 07/19/2024
15.3.53 120 07/19/2024
15.3.32 111 07/19/2024
15.3.23 116 07/19/2024
15.3.15 105 07/19/2024
15.0.82 112 07/19/2024
15.0.75 110 07/19/2024
15.0.67 113 07/19/2024
15.0.55-pre 110 07/19/2024
15.0.11-pre 103 07/19/2024
14.1.111 106 07/19/2024
14.0.51103 105 07/19/2024
14.0.50702 124 07/19/2024
14.0.50417-pre 110 07/19/2024
12.0.0 110 07/19/2024