SemanticTypeModel.Core 2.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SemanticTypeModel.Core --version 2.5.0
                    
NuGet\Install-Package SemanticTypeModel.Core -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.Core" Version="2.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SemanticTypeModel.Core" Version="2.5.0" />
                    
Directory.Packages.props
<PackageReference Include="SemanticTypeModel.Core" />
                    
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 SemanticTypeModel.Core --version 2.5.0
                    
#r "nuget: SemanticTypeModel.Core, 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.Core@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.Core&version=2.5.0
                    
Install as a Cake Addin
#tool nuget:?package=SemanticTypeModel.Core&version=2.5.0
                    
Install as a Cake Tool

SemanticTypeModel.Core

What this package does

SemanticTypeModel.Core provides core semantic vocabulary, transformation pipeline, diagnostics helpers, and inspection support for canonical semantic models.

Install

dotnet add package SemanticTypeModel.Core --version 2.4.0

Use when

  • Install this package when you need core semantic vocabulary, transformation pipeline, diagnostics helpers, and inspection support for canonical semantic models.
  • Keep package boundaries explicit in an application or library.
  • Pair generated semantic models with the target runtime you are configuring.

Minimal example

using SemanticTypeModel.Core.Transformation;

var result = model.Transform(options =>
{
    options.UseCoreDefaults();
});
result.Diagnostics.ThrowIfErrors();

Main APIs

API Purpose
CoreSemanticAnnotationKeys Names for projection-neutral semantic annotations.
ISemanticModelTransformation Transformation step contract.
SemanticModelTransformationPipeline Deterministic transformation pipeline.
DiagnosticCollectionExtensions Helpers for checking diagnostic results.

Works with

  • SemanticTypeModel.Abstractions, SemanticTypeModel.DotNet, SemanticTypeModel.Generators, and projection packages.
  • SemanticTypeModel.Abstractions.Model for the current unified model surface.
  • public-docs/samples/ projects that demonstrate package-based usage.

Does not do

  • It does not extract .NET code, generate providers, or export target-specific artifacts by itself.
  • 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

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 (8)

Showing the top 5 NuGet packages that depend on SemanticTypeModel.Core:

Package Downloads
SemanticTypeModel.DependencyInjection

Runtime composition and dependency injection helpers for SemanticTypeModel.

SemanticTypeModel.EFCore

EF Core model projection support for SemanticTypeModel.

SemanticTypeModel.PowerBI

Power BI projection support for SemanticTypeModel.

SemanticTypeModel.Generators

Incremental source generator package for SemanticTypeModel compile-time extraction.

SemanticTypeModel.JsonSchema

Code-first JSON Schema domain projection and Draft 2020-12 export for SemanticTypeModel.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0 101 8/23/2026
4.0.1 170 8/18/2026
4.0.0 163 8/16/2026
2.6.0 164 8/4/2026
2.5.3 162 8/4/2026
2.5.1 161 8/4/2026
2.5.0 161 8/3/2026
2.4.6 175 8/3/2026
2.4.5 167 8/3/2026
2.4.4 179 8/2/2026
2.4.3 172 7/31/2026
2.4.2 169 7/31/2026
2.4.1 183 7/3/2026
2.4.0 176 7/2/2026
2.3.0 181 6/20/2026
2.2.0 181 6/16/2026
2.1.0 180 6/15/2026
2.0.0 167 6/7/2026
1.1.0 137 6/4/2026
1.0.0 150 6/1/2026
Loading failed