MSTest.TestFramework
This is MSTest V2, the evolution of Microsoft's Test Framework. Supported platforms: - .NET 4.5.0+ - .NET Core 1.0+ (Universal Windows Apps 10+, DNX Core 5+) - .NET 5.0 Windows.17763+ (WinUI Desktop Apps) (Visual Studio 2019) - ASP.NET Core 1.0+ To discover and execute tests install MSTest.TestAdapter.
Install
dotnet add package MSTest.TestFramework --version 2.2.7
Install-Package MSTest.TestFramework -Version 2.2.7
<PackageReference Include="MSTest.TestFramework" Version="2.2.7" />
Frameworks
Dependencies
Adoption guide
Repositories that prefer first-party tooling and existing MSTest conventions.
NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.
Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.