Gengora.Comptime.Attributes 2.5.0

dotnet add package Gengora.Comptime.Attributes --version 2.5.0
                    
NuGet\Install-Package Gengora.Comptime.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.Comptime.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.Comptime.Attributes" Version="2.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Gengora.Comptime.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.Comptime.Attributes --version 2.5.0
                    
#r "nuget: Gengora.Comptime.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.Comptime.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.Comptime.Attributes&version=2.5.0
                    
Install as a Cake Addin
#tool nuget:?package=Gengora.Comptime.Attributes&version=2.5.0
                    
Install as a Cake Tool

Gengora.Comptime.Attributes

This is the application-facing contract for values that a compatible Gengora generator evaluates during generation.

Use it

<PackageReference Include="Gengora.Comptime.Attributes" />
using Gengora.Comptime.Attributes;

public static class BuildFacts
{
    [Comptime]
    public static int MaximumDepth() => 5;
}

[Comptime] alone does not start evaluation. The selected product generator must opt into the Comptime-enabled C# pipeline. Optional attributes declare dependencies, quotas, timeouts, fast-path requirements, and exact file or environment reads.

Boundary

The attributes describe a determinism policy. They do not create an operating-system sandbox. A power-path worker runs with the current developer's permissions, so untrusted code still needs an external sandbox.

See the Comptime 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.Comptime.Attributes:

Package Downloads
Gengora.Comptime

Reusable compile-time evaluation engine for Gengora generators.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.5.0 85 11/5/2026
2.5.0-rc.290-commonabi... 71 10/31/2026
2.5.0-rc.287-openedstream... 73 10/31/2026
2.5.0-rc.263-rawjson... 70 10/29/2026