MSTest.SourceGeneration 4.5.1

Prefix Reserved
dotnet add package MSTest.SourceGeneration --version 4.5.1
                    
NuGet\Install-Package MSTest.SourceGeneration -Version 4.5.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MSTest.SourceGeneration" Version="4.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MSTest.SourceGeneration" Version="4.5.1" />
                    
Directory.Packages.props
<PackageReference Include="MSTest.SourceGeneration" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MSTest.SourceGeneration --version 4.5.1
                    
#r "nuget: MSTest.SourceGeneration, 4.5.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MSTest.SourceGeneration@4.5.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MSTest.SourceGeneration&version=4.5.1
                    
Install as a Cake Addin
#tool nuget:?package=MSTest.SourceGeneration&version=4.5.1
                    
Install as a Cake Tool

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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (6)

Showing the top 6 popular GitHub repositories that depend on MSTest.SourceGeneration:

Repository Stars
morelinq/MoreLINQ
Extensions to LINQ to Objects
friflo/Friflo.Engine.ECS
High-performance C# ECS
jamescourtney/FlatSharp
Fast, idiomatic C# implementation of Flatbuffers
lindexi/lindexi_gd
博客用到的代码
friflo/Friflo.Json.Fliox
C# ORM - High Performance, SQL, NoSQL, Messaging, Pub-Sub
microsoft/codecoverage
Microsoft Code Coverage tools documentation and samples
Version Downloads Last Updated
4.5.1 3,846 10/7/2026
4.4.1 3,993 9/16/2026 4.4.1 is deprecated because it is no longer maintained.
4.4.0 1,334 9/2/2026 4.4.0 is deprecated because it is no longer maintained.
2.0.0-alpha.26377.5 218 7/28/2026 2.0.0-alpha.26377.5 is deprecated because it is no longer maintained.
2.0.0-alpha.26363.8 180 7/13/2026 2.0.0-alpha.26363.8 is deprecated because it is no longer maintained.
2.0.0-alpha.26358.12 251 7/8/2026 2.0.0-alpha.26358.12 is deprecated because it is no longer maintained.
2.0.0-alpha.26264.3 3,203 5/14/2026 2.0.0-alpha.26264.3 is deprecated because it is no longer maintained.
2.0.0-alpha.26228.3 1,852 4/30/2026 2.0.0-alpha.26228.3 is deprecated because it is no longer maintained.
2.0.0-alpha.26202.7 661 4/7/2026 2.0.0-alpha.26202.7 is deprecated because it is no longer maintained.
2.0.0-alpha.26103.11 1,989 2/3/2026 2.0.0-alpha.26103.11 is deprecated because it is no longer maintained.
2.0.0-alpha.25561.4 3,060 11/11/2025 2.0.0-alpha.25561.4 is deprecated because it is no longer maintained.
2.0.0-alpha.25514.6 1,211 10/14/2025 2.0.0-alpha.25514.6 is deprecated because it is no longer maintained.
2.0.0-alpha.25507.7 389 10/7/2025 2.0.0-alpha.25507.7 is deprecated because it is no longer maintained.
2.0.0-alpha.25480.4 255 9/30/2025 2.0.0-alpha.25480.4 is deprecated because it is no longer maintained.
2.0.0-alpha.25465.3 447 9/15/2025 2.0.0-alpha.25465.3 is deprecated because it is no longer maintained.
2.0.0-alpha.25454.2 316 9/4/2025 2.0.0-alpha.25454.2 is deprecated because it is no longer maintained.
2.0.0-alpha.25452.10 210 9/2/2025 2.0.0-alpha.25452.10 is deprecated because it is no longer maintained.
1.0.0-alpha.25561.5 365 11/11/2025 1.0.0-alpha.25561.5 is deprecated because it is no longer maintained.
1.0.0-alpha.25501.5 410 10/1/2025 1.0.0-alpha.25501.5 is deprecated because it is no longer maintained.
1.0.0-alpha.25480.6 244 9/30/2025 1.0.0-alpha.25480.6 is deprecated because it is no longer maintained.
Loading failed