Skip to main content
Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing package icon

Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing

Roslyn Source Generator Framework C# Types.

Total Downloads
2.8M
2,810,212
Published
Jan 13, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing --version 1.1.3
Package Manager Console
Install-Package Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing -Version 1.1.3
PackageReference
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing" Version="1.1.3" />

Frameworks

.NETFramework4.7.2 .NETCoreApp3.1 .NETStandard2.0

Dependencies

[1.1.3, 1.1.3]
[3.8.0, )
System.Formats.Asn1
.NETFramework4.7.2
[6.0.1, )
System.Formats.Asn1
.NETCoreApp3.1
[6.0.1, )
System.Formats.Asn1
.NETStandard2.0
[6.0.1, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 3 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.