Zum Hauptinhalt springen

CkCompilerOptions

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.Services

Options of the CK compiler.

public class CkCompilerOptions

Inheritance Object → CkCompilerOptions

Fields​

RangeRetentionPropertyName​

Name of the obsolete MSBuild property / environment variable that used to switch range retention on . It has no effect any more; a build that still sets it gets the deprecation warning CkCompilerOptions.RangeRetentionObsoleteCode.

public static string RangeRetentionPropertyName;

RangeRetentionObsoleteCode​

Message number of the deprecation warning for the obsolete property, option and environment variable.

public static string RangeRetentionObsoleteCode;

RangeRetentionObsoleteText​

Text of the deprecation warning (message CkCompilerOptions.RangeRetentionObsoleteCode).

public static string RangeRetentionObsoleteText;

Properties​

RangeRetention​

CK v2 range retention (the compiler default in newer versions). The compiler writes CkCompiledModelRoot.DependencyRanges (declared range + floor per direct dependency) and stores references into dependencies major-qualified and model-version-less (System@2/Entity-1) instead of pinning the highest catalog version (System-2.4.0/Entity-1). There is no user-facing switch (MSBuild property, option and environment variable are gone); this property stays only as a code seam for tests and tooling that must produce the classic exact-pinned form of a model (compatibility tests of the published v1 models, the one-time re-pin).

public bool RangeRetention { get; set; }

Property Value​

Boolean

Constructors​

CkCompilerOptions()​

public CkCompilerOptions()