SemanticTypeModel.Generators
2.5.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SemanticTypeModel.Generators --version 2.5.0
NuGet\Install-Package SemanticTypeModel.Generators -Version 2.5.0
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="SemanticTypeModel.Generators" Version="2.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SemanticTypeModel.Generators" Version="2.5.0" />
<PackageReference Include="SemanticTypeModel.Generators" />
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 SemanticTypeModel.Generators --version 2.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SemanticTypeModel.Generators, 2.5.0"
#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 SemanticTypeModel.Generators@2.5.0
#: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=SemanticTypeModel.Generators&version=2.5.0
#tool nuget:?package=SemanticTypeModel.Generators&version=2.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SemanticTypeModel.Generators
What this package does
SemanticTypeModel.Generators provides incremental source generation for compile-time semantic model providers from annotated .NET code.
Install
dotnet add package SemanticTypeModel.Generators --version 2.4.0
Use when
- Install this package when you need incremental source generation for compile-time semantic model providers from annotated .NET code.
- Keep package boundaries explicit in an application or library.
- Pair generated semantic models with the target runtime you are configuring.
Minimal example
<ItemGroup>
<PackageReference Include="SemanticTypeModel.Generators" Version="2.4.0" PrivateAssets="all" />
</ItemGroup>
TypeSchemaModel model = AppSemanticTypeModel.Create();
Main APIs
| API | Purpose |
|---|---|
Semantic model provider generation |
Build-time provider generated from annotated source. |
AppSemanticTypeModel.Create() |
Typical generated entry point used by samples. |
MSBuild properties |
Control generator and extraction behavior. |
Works with
- SemanticTypeModel.DotNet, SemanticTypeModel.Core, and scenario projection packages.
SemanticTypeModel.Abstractions.Modelfor the current unified model surface.public-docs/samples/projects that demonstrate package-based usage.
Does not do
- It does not run target projections or create JSON serializer contexts.
- It does not make milestone plans or historical research documents part of the public API.
- It does not change compatibility rules described in the compatibility documentation.
More documentation
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- SemanticTypeModel.Abstractions (>= 2.5.0)
- SemanticTypeModel.Core (>= 2.5.0)
- SemanticTypeModel.DotNet (>= 2.5.0)
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 |
|---|---|---|
| 5.0.0 | 60 | 8/23/2026 |
| 4.0.1 | 89 | 8/18/2026 |
| 4.0.0 | 94 | 8/16/2026 |
| 2.6.0 | 102 | 8/4/2026 |
| 2.5.3 | 97 | 8/4/2026 |
| 2.5.1 | 98 | 8/4/2026 |
| 2.5.0 | 94 | 8/3/2026 |
| 2.4.6 | 93 | 8/3/2026 |
| 2.4.5 | 92 | 8/3/2026 |
| 2.4.4 | 105 | 8/2/2026 |
| 2.4.3 | 98 | 7/31/2026 |
| 2.4.2 | 98 | 7/31/2026 |
| 2.4.1 | 102 | 7/3/2026 |
| 2.4.0 | 108 | 7/2/2026 |
| 2.3.0 | 111 | 6/20/2026 |
| 2.2.0 | 114 | 6/16/2026 |
| 2.1.0 | 118 | 6/15/2026 |
| 2.0.0 | 110 | 6/7/2026 |
| 1.1.0 | 112 | 6/4/2026 |
| 1.0.0 | 121 | 6/1/2026 |
Loading failed