Class BuilderMsDelphiProps
Properties for MSBuilder
Inherited Members
Namespace: BuildSystem.Builder.MsDelphi
Assembly: BuildSystem.ProjectList.dll
Syntax
public class BuilderMsDelphiProps : BuilderProps, IBuilderProps, IManagerProp
Constructors
BuilderMsDelphiProps()
Container of properties for MSBuilder
Declaration
public BuilderMsDelphiProps()
BuilderMsDelphiProps(IManagerProp)
Container of properties for classes implementing BuilderMsDelphiProps
Declaration
public BuilderMsDelphiProps(IManagerProp source)
Parameters
| Type | Name | Description |
|---|---|---|
| IManagerProp | source |
Fields
NodeBindParamBuildId
Key in json settings - value for build id in BindParams
Declaration
public const string NodeBindParamBuildId = "build_id"
Field Value
| Type | Description |
|---|---|
| string |
NodeBindParamBuildStatus
Key in json settings - value for build status in BindParams
Declaration
public const string NodeBindParamBuildStatus = "build_status"
Field Value
| Type | Description |
|---|---|
| string |
NodeBindParams
Node key in JSON with value for BindParams
Declaration
public const string NodeBindParams = "bind_params"
Field Value
| Type | Description |
|---|---|
| string |
NodeEnvBdsPath
Node key in JSON with properties - value for EnvBdsPath
Declaration
public const string NodeEnvBdsPath = "env_bds"
Field Value
| Type | Description |
|---|---|
| string |
NodeMsBuilderPath
Node key in JSON with properties - value for MsBuilderPath
Declaration
public const string NodeMsBuilderPath = "msbuilder_path"
Field Value
| Type | Description |
|---|---|
| string |
NodeOutputBpl
Key in BuildParams when calling build() - output path for .bpl files
Declaration
public const string NodeOutputBpl = "/p:DCC_BplOutput"
Field Value
| Type | Description |
|---|---|
| string |
NodeOutputDcp
Key in BuildParams when calling build() - output path for .dcp files
Declaration
public const string NodeOutputDcp = "/p:DCC_DcpOutput"
Field Value
| Type | Description |
|---|---|
| string |
NodeOutputDcu
Key in BuildParams when calling build() - output path for ,dcu files
Declaration
public const string NodeOutputDcu = "/p:DCC_DcuOutput"
Field Value
| Type | Description |
|---|---|
| string |
NodeOutputExe
Key in BuildParams when calling build() - output path for binary files
Declaration
public const string NodeOutputExe = "/p:DCC_ExeOutput"
Field Value
| Type | Description |
|---|---|
| string |
NodeRsVarsPath
Node key in JSON with properties - value for RsVarsPath
Declaration
public const string NodeRsVarsPath = "rsvars_path"
Field Value
| Type | Description |
|---|---|
| string |
Properties
BindParams
Params provided to bind utility (NB, RC, RL)
Declaration
public Dictionary<string, string?> BindParams { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<,><string, string> |
EnvBdsPath
Path to the directory where Delphi's utility executables are stored.Usually, this is
c:/program files (x86)/embarcadero/studio/22.0 (or older). If rsvars_path is not specified,
the path to rsvars.bat becomes $env_bds$/bin/rsvars.bat
Declaration
public string? EnvBdsPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MsBuilderPath
Path to MSBuild.exe that will compile the project - requires MSBuild.exe that is part of Microsoft.NET, for example, "C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe" (the reason a specific older version of MSBuild.exe is required for compiling dproj projects is not yet investigated).
Declaration
public string? MsBuilderPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RsVarsPath
Path to rsvars.bat that should be run before executing msbuild.exe. A special feature of Delphi project compilation is that the environment variables set in this bat file are important for the compilation. Therefore, when compiling Delphi projects, environment variables must be set.
Declaration
public string? RsVarsPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ApplyConstants(IDictionaryStringString)
Declaration
public override void ApplyConstants(IDictionaryStringString constants)
Parameters
| Type | Name | Description |
|---|---|---|
| IDictionaryStringString | constants |
Overrides
Clone()
Creates a new instance - copy of current object
Declaration
public override IManagerProp Clone()
Returns
| Type | Description |
|---|---|
| IManagerProp | New instance |
Overrides
Copy(IManagerProp)
Declaration
public override void Copy(IManagerProp source)
Parameters
| Type | Name | Description |
|---|---|---|
| IManagerProp | source |
Overrides
EmptyValues()
Declaration
public override void EmptyValues()
Overrides
Update(string, string)
Declaration
public override void Update(string jsonInfo, string relativeDir)
Parameters
| Type | Name | Description |
|---|---|---|
| string | jsonInfo | |
| string | relativeDir |