NetMediate.SourceGeneration
2026.5.13.1367
dotnet add package NetMediate.SourceGeneration --version 2026.5.13.1367
NuGet\Install-Package NetMediate.SourceGeneration -Version 2026.5.13.1367
<PackageReference Include="NetMediate.SourceGeneration" Version="2026.5.13.1367"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="NetMediate.SourceGeneration" Version="2026.5.13.1367" />
<PackageReference Include="NetMediate.SourceGeneration"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add NetMediate.SourceGeneration --version 2026.5.13.1367
#r "nuget: NetMediate.SourceGeneration, 2026.5.13.1367"
#:package NetMediate.SourceGeneration@2026.5.13.1367
#addin nuget:?package=NetMediate.SourceGeneration&version=2026.5.13.1367
#tool nuget:?package=NetMediate.SourceGeneration&version=2026.5.13.1367
NetMediate.SourceGeneration
Reference this package in the application's startup/main project with:
<PackageReference Include="NetMediate.SourceGeneration" Version="x.x.x.x">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
NetMediate.SourceGeneration is the package that runs the NetMediate source generator directly.
Indirect but required dependencies
When you install this package, its buildTransitive file adds these required PackageReference entries automatically:
NetMediate— runtime implementation used by the generated registrationsGenDI.SourceGenerator— generator that emits the DI builder APIs used by NetMediate
You normally do not add those packages manually in the same startup project. They are indirect dependencies, but they are still required for the generated experience to work.
Contracts-only projects
If you have a shared contracts project, reference NetMediate.Core there:
dotnet add package NetMediate.Core
Then reference NetMediate.SourceGeneration only in the executable/startup project that calls AddNetMediate().
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
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.5.13.1367 | 0 | 5/13/2026 |
| 2026.5.12.1336 | 46 | 5/12/2026 |
| 2026.5.11.1060 | 61 | 5/11/2026 |
| 2026.0.2 | 72 | 5/11/2026 |
| 2026.0.1 | 69 | 5/10/2026 |
| 26.5.10.68 | 66 | 5/10/2026 |
| 26.5.9.62 | 116 | 5/9/2026 |
| 26.5.8.703 | 51 | 5/8/2026 |
| 26.5.6.675 | 89 | 5/6/2026 |
| 26.5.6.322 | 83 | 5/6/2026 |
| 26.5.6.6 | 88 | 5/6/2026 |
| 26.5.5.1074 | 118 | 5/5/2026 |
| 26.5.5.1037 | 91 | 5/5/2026 |
| 26.5.4.1242 | 149 | 5/4/2026 |
| 26.5.4.1234 | 87 | 5/4/2026 |
| 26.5.4.637 | 123 | 5/4/2026 |
| 26.5.1.742 | 158 | 5/1/2026 |
| 26.5.1.259 | 123 | 5/1/2026 |
| 26.5.1.257 | 91 | 5/1/2026 |
| 26.5.1.252 | 93 | 5/1/2026 |