Class PlatformManifest
The platform manifest, rdcore.json at the platform root: where each component of a deployed platform is.
public record PlatformManifest : IEquatable<PlatformManifest>
- Inheritance
-
PlatformManifest
- Implements
- Inherited Members
Remarks
Written when the platform is deployed (PlatformPublish.ps1), in camelCase, and read regardless of case. The paths are relative to the platform root, with
either slash style.
Fields
DefaultCoreExtension
The extension a platform bundles when its manifest does not say: RDCore.Diagnostics.
public const string DefaultCoreExtension = "RDCore.Diagnostics"
Field Value
FileName
The name of the manifest file at the platform root.
public const string FileName = "rdcore.json"
Field Value
Properties
CoreExtension
The extension the platform bundles: the name of its folder under ExtensionsDirectory.
public string CoreExtension { get; init; }
Property Value
Remarks
The core extension reports the platform's first-party diagnostics. The prefixes of their codes (RDC, RDX) are its own: no other extension
that declares one is started (RD-VBAL §1.1.4). A manifest that does not name it bundles DefaultCoreExtension.
ExtensionsDirectory
The folder of the platform's extensions: one subfolder each, named for the extension.
public string ExtensionsDirectory { get; init; }
Property Value
GeneratedUtc
When the manifest was written, in UTC.
public DateTime GeneratedUtc { get; init; }
Property Value
HostService
The executable of the environment host: rdc.exe, which runs in host mode for it.
public string HostService { get; init; }
Property Value
LangService
The executable of the language server, which a client starts and connects to.
public string LangService { get; init; }
Property Value
ParseServer
The executable of the parse server.
public string ParseServer { get; init; }
Property Value
PlatformVersion
The version of the deployed platform.
public string PlatformVersion { get; init; }
Property Value
RuntimeIdentifier
The runtime identifier the platform was built for, such as win-x64 or osx-arm64: the manifest's rid. Empty when
the manifest does not name one.
[JsonPropertyName("rid")]
public string RuntimeIdentifier { get; init; }