Get Started
| Product | Versions |
|---|---|
| .NET | |
| Other |
README
Microsoft.NET.Test.Sdk
The MSBuild targets and properties for building .NET test projects. This package is required for any .NET test project to integrate with the Visual Studio Test Platform.
Usage
Add this package to your test project:
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="x.y.z" />
This package works alongside a test framework adapter (e.g., MSTest, xUnit, NUnit) to enable test discovery and execution via dotnet test or Visual Studio Test Explorer.
Example
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="x.y.z" />
<PackageReference Include="MSTest" Version="3.x.y" />
</ItemGroup>
</Project>
Links
Downloads by Version
Similar & Alternative Packages
Hand-picked matching NuGet libraries based on tags & ecosystem
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.