NetMediate.SourceGeneration 2026.11.6.698

dotnet add package NetMediate.SourceGeneration --version 2026.11.6.698
                    
NuGet\Install-Package NetMediate.SourceGeneration -Version 2026.11.6.698
                    
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="NetMediate.SourceGeneration" Version="2026.11.6.698">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NetMediate.SourceGeneration" Version="2026.11.6.698" />
                    
Directory.Packages.props
<PackageReference Include="NetMediate.SourceGeneration">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 NetMediate.SourceGeneration --version 2026.11.6.698
                    
#r "nuget: NetMediate.SourceGeneration, 2026.11.6.698"
                    
#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 NetMediate.SourceGeneration@2026.11.6.698
                    
#: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=NetMediate.SourceGeneration&version=2026.11.6.698
                    
Install as a Cake Addin
#tool nuget:?package=NetMediate.SourceGeneration&version=2026.11.6.698
                    
Install as a Cake Tool

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>contentfiles; compile; runtime</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 registrations
  • GenDI.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().

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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.11.6.698 126 11/6/2026
2026.10.23.1135 130 10/23/2026
2026.7.3.134 195 7/3/2026
2026.6.2.793 149 6/2/2026
2026.6.1.809 152 6/1/2026
2026.5.29.881 141 5/29/2026
2026.5.29.822 134 5/29/2026
2026.5.25.1179 158 5/25/2026
2026.5.25.1106 143 5/25/2026
2026.5.25.1091 141 5/25/2026
2026.5.25.1029 145 5/25/2026
2026.5.25.1017 143 5/25/2026
2026.5.25.987 145 5/25/2026
2026.5.25.971 150 5/25/2026
2026.5.22.800 166 5/22/2026
2026.5.22.798 144 5/22/2026
2026.5.21.1216 145 5/21/2026
2026.5.19.1340 142 5/19/2026
2026.5.17.1060 149 5/17/2026
2026.5.16.984 162 5/16/2026
Loading failed