Skip to main content

This package provides the C# source generators that emit reflection metadata so that MSTest test assemblies can run trim-safe and NativeAOT-compatible. MSTest is Microsoft supported Test Framework.

Total Downloads
68.8K
68,811
Published
Oct 27, 2026
6d ago

Get Started

dotnet add package MSTest.SourceGeneration --version 4.5.2
ProductVersions
.NET Standard
netstandard2.0

README

MSTest.SourceGeneration

MSTest is Microsoft supported Test Framework.

This package provides the C# source generators that emit reflection metadata so that MSTest test assemblies can run trim-safe and NativeAOT-compatible.

For access to the testing framework, install the MSTest.TestFramework package.

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.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.