net8.0.NETFramework4.6.2native0.0
The MSbuild targets and properties for building .NET test projects.
Published
Apr 14, 2026
6mo ago
Total Downloads
2.0B
1,967,971,980
Install
dotnet add package Microsoft.NET.Test.Sdk --version 1.0.0-alpha-stj-26213-07
| 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
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.