Gengora.Comptime 2.5.0

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

Gengora.Comptime

Gengora.Comptime is the generator-side engine for discovering, validating, evaluating, caching, and serializing [Comptime] methods and providers.

Use it

Generator packages reference it; ordinary application projects reference Gengora.Comptime.Attributes instead:

<PackageReference Include="Gengora.Comptime" PrivateAssets="all" />

A generator supplies its loaded Roslyn documents, diagnostic bag, policy, and cancellation token to ComptimeEvaluationEngine.Evaluate. Simple expressions use the in-process interpreter. Block bodies and supported invocations use the packaged worker process.

Use ComptimeEvaluationEngine.CreateSharedCache() only when a watch host should reuse results across engine instances. The disk cache is opt-in.

Methods containing a directly bound file or environment read admitted by the current policy run again instead of reading or writing either value cache. Changing the file or process environment can therefore change the next result without editing the method. Existing entries for these methods are ignored; unused permissions and pure methods keep their normal cache hits. This avoids hashing relative paths in the parent process when the worker has a different working directory. It does not track reads hidden behind helper calls or claim an operating-system sandbox. Re-evaluating external reads can cost more than a previous cache hit; that cost has not been measured.

Directly bound calls to source methods, including source extension methods, also bypass both value caches. Their helper bodies are outside the method-only key, so a helper edit must not return its previous value. Old entries are ignored and preserved. Declaring an uncalled helper does not prevent a pure method's hit. This is a conservative re-evaluation rule, not full dependency tracking: constructors, operators/conversions, implicit protocol calls, late-bound/dynamic, metadata-library, delegate, property and field dependencies remain separate. The extra worker cost has not been measured.

Boundary

The worker gives the host a hard timeout and process-tree cleanup boundary. It does not remove the current user's file, network, environment, or process permissions. Cross-generator ordering is not provided.

See the evaluation paths and limits.

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.

NuGet packages (1)

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

Package Downloads
Gengora.CSharp.Comptime

Roslyn-backed compile-time pipeline and typed result APIs for Gengora C# generators.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.5.0 89 11/5/2026
2.5.0-rc.290-commonabi... 62 10/31/2026
2.5.0-rc.287-openedstream... 74 10/31/2026
2.5.0-rc.263-rawjson... 67 10/29/2026