Temelie.SourceGenerator 1.0.207

This package has a SemVer 2.0.0 package version: 1.0.207+f44a8b1.
dotnet add package Temelie.SourceGenerator --version 1.0.207
                    
NuGet\Install-Package Temelie.SourceGenerator -Version 1.0.207
                    
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="Temelie.SourceGenerator" Version="1.0.207" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Temelie.SourceGenerator" Version="1.0.207" />
                    
Directory.Packages.props
<PackageReference Include="Temelie.SourceGenerator" />
                    
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 Temelie.SourceGenerator --version 1.0.207
                    
#r "nuget: Temelie.SourceGenerator, 1.0.207"
                    
#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 Temelie.SourceGenerator@1.0.207
                    
#: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=Temelie.SourceGenerator&version=1.0.207
                    
Install as a Cake Addin
#tool nuget:?package=Temelie.SourceGenerator&version=1.0.207
                    
Install as a Cake Tool

Temelie.SourceGenerator

Runs the Temelie generators outside the compiler and writes their output to disk. It opens a solution with Roslyn's MSBuildWorkspace, generates the code, and keeps a folder of .cs files in sync. Use it when you want generated code checked in, reviewed in pull requests, or available without building.

dotnet add package Temelie.SourceGenerator
var generator = new FileGenerator();

await generator.GenerateEntitiesAsync("MyApp.sln", "MyApp.Database", "MyApp.Entities");                          // entities from .sql.json
await generator.GenerateEntityFrameworkCoreAsync("MyApp.sln", "MyApp.Entities", "MyApp.Data", "_Generated/EntityFrameworkCore");
await generator.GenerateRepositoryAsync("MyApp.sln", "MyApp.Entities", "MyApp.Data", "_Generated/Repository");

Each method has three variants:

  • Solution path: pass the path to the solution, as shown above.
  • Open workspace: pass an already-open MSBuildWorkspace to share one solution load across calls.
  • Custom entity generator: pass your own EntityIncrementalGeneratorBase (see Temelie.Entities.SourceGeneratorBase).

Output defaults to a _Generated folder in the target project. Changed files are rewritten and stale files are deleted.

src/Temelie.SourceGenerator.App in the repository is a runnable example that generates the AdventureWorks sample.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in 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
1.0.207 34 11/7/2026
1.0.206 32 11/7/2026
1.0.205 27 11/7/2026
1.0.204 33 11/7/2026
1.0.202 5,963 10/13/2026
1.0.201 7,300 8/28/2026
1.0.200 198 8/26/2026
1.0.199 105 8/21/2026
1.0.196 63 8/21/2026
1.0.195 61 8/21/2026
1.0.194 1,987 8/19/2026
1.0.193 59 8/12/2026
1.0.192 23,138 7/21/2026
1.0.191 4,136 7/13/2026
1.0.190 1,020 7/9/2026
1.0.189 23,580 2/18/2026
1.0.188 72 2/13/2026
1.0.187 120 11/21/2025
1.0.186 4,763 11/20/2025
1.0.185 117 11/20/2025
Loading failed