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 31 2026/11/7
1.0.206 30 2026/11/7
1.0.205 25 2026/11/7
1.0.204 31 2026/11/7
1.0.202 3,667 2026/10/13
1.0.201 7,268 2026/8/28
1.0.200 198 2026/8/26
1.0.199 102 2026/8/21
1.0.196 61 2026/8/21
1.0.195 61 2026/8/21
1.0.194 1,987 2026/8/19
1.0.193 59 2026/8/12
1.0.192 21,463 2026/7/21
1.0.191 4,135 2026/7/13
1.0.190 1,020 2026/7/9
1.0.189 23,578 2026/2/18
1.0.188 72 2026/2/13
1.0.187 120 2025/11/21
1.0.186 4,763 2025/11/20
1.0.185 115 2025/11/20
Loading failed