Gengora.Common.Attributes 2.5.0

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

Gengora.Common.Attributes

This package supplies the build contract that compiles Gengora-owned .g.cs files from the target project's intermediate output.

Use it

Product attribute packages normally bring this package transitively. Add it directly only when you are building a Gengora product package that does not already reference it:

<PackageReference Include="Gengora.Common.Attributes" />

No registration call is required. Its transitive MSBuild target:

  • defines GengoraGeneratedSourceDirectory, normally obj/Gengora;
  • includes generated .g.cs files in compilation;
  • places generated union cases before authored partial declarations; and
  • marks generated files as hidden design-time inputs.

Set GengoraIncludeGeneratedSources=false only when a deliberate build route supplies reviewed generated sources another way.

Boundary

The target reads only .g.cs files below the configured generated-source directory. It contains no application runtime service and performs no project discovery.

See the host and ownership guide.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net11.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Gengora.Common.Attributes:

Package Downloads
Gengora.CSharp

Roslyn and RazorBlade pipelines for authoring compiler-backed C# generators with Gengora.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.5.0 79 11/5/2026
2.5.0-rc.290-commonabi... 65 10/31/2026
2.5.0-rc.287-openedstream... 92 10/31/2026
2.5.0-rc.263-rawjson... 98 10/29/2026