Microsoft.VisualStudio.Validation 17.6.4-alpha

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");

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

Packages
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).

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

.NET 6.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Last updated
17.8.8 05/03/2025
17.6.11 03/30/2025
17.6.4-alpha 04/24/2025
17.0.71 03/28/2025
17.0.65 03/14/2025
17.0.64 03/29/2025
17.0.53 03/18/2025
17.0.50 03/30/2025
17.0.46 03/28/2025
17.0.43 03/29/2025
17.0.42 03/28/2025
17.0.34 03/29/2025
17.0.28 03/29/2025
17.0.25-alpha 03/28/2025
17.0.21-alpha 03/29/2025
17.0.16-alpha 03/29/2025
17.0.12-alpha 03/29/2025
17.0.11-alpha 03/28/2025
16.10.35 03/29/2025
16.10.34 03/31/2025
16.10.26 03/30/2025
16.9.32 03/30/2025
16.9.28 03/30/2025
16.9.27-alpha 03/29/2025
16.8.33 03/29/2025
15.5.31 03/29/2025
15.5.3 04/20/2025
15.3.58 03/29/2025
15.3.53 03/29/2025
15.3.32 03/29/2025
15.3.23 03/30/2025
15.3.15 03/30/2025
15.0.82 03/29/2025
15.0.75 03/29/2025
15.0.67 03/17/2025
15.0.55-pre 03/31/2025
15.0.11-pre 03/29/2025
14.1.111 03/29/2025
14.0.51103 11/07/2015
14.0.50702 04/13/2025
14.0.50417-pre 04/22/2025
12.0.0 04/30/2025