Class BuilderMsDelphi
Compiling of project using MSBuild.exe
Inheritance
object
BuilderMsDelphi
Namespace: BuildSystem.Builder.MsDelphi
Assembly: BuildSystem.ProjectList.dll
Syntax
public class BuilderMsDelphi : Object, IBuilder, IManager
Constructors
BuilderMsDelphi(ILogger?, BuilderMsDelphiProps, string)
Compiling of project using MSBuild.exe
Declaration
public BuilderMsDelphi(ILogger? logger, BuilderMsDelphiProps props, string tempDir)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger | logger | Logging object |
| BuilderMsDelphiProps | props | Properties for MSBuilder.exe, excluding compile params |
| string | tempDir | Parent folder for temporary files |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "Builder.MsDelphi"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Logger
Logging object
Declaration
public ILogger? Logger { get; }
Property Value
| Type | Description |
|---|---|
| ILogger |
Props
Declaration
public IManagerProp Props { get; }
Property Value
| Type | Description |
|---|---|
| IManagerProp |
Methods
Build(string, Dictionary<string, string>)
Compiling project
Declaration
public bool Build(string projectFile, Dictionary<string, string> buildParams)
Parameters
| Type | Name | Description |
|---|---|---|
| string | projectFile | Main project file (.dproj / .vcxproj) |
| System.Collections.Generic.Dictionary<,><string, string> | buildParams | Parameters provided to MSBuilder.exe |
Returns
| Type | Description |
|---|---|
| bool | Flag that compile was successful |