Class BuilderDotnet
Compile C# projects using dotnet command line
Inheritance
object
BuilderDotnet
Namespace: BuildSystem.Builder.Dotnet
Assembly: BuildSystem.ProjectList.dll
Syntax
public class BuilderDotnet : Object, IBuilder, IManager
Constructors
BuilderDotnet(ILogger?, BuilderDotnetProps, string)
Compile c# projects using dotnet command line
Declaration
public BuilderDotnet(ILogger? logger, BuilderDotnetProps props, string tempDir)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | Logging object |
BuilderDotnetProps | props | Properties of creating object |
string | tempDir | Parent folder for temporary files |
Fields
ClassIdent
Unique ident of class
Declaration
public const string ClassIdent = "Builder.Dotnet"
Field Value
Type | Description |
---|---|
string |
Properties
Logger
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>)
Compile project
Declaration
public bool Build(string projectFile, Dictionary<string, string> buildParams)
Parameters
Type | Name | Description |
---|---|---|
string | projectFile | Full path to main project file |
System.Collections.Generic.Dictionary<,><string, string> | buildParams | Ignoring |
Returns
Type | Description |
---|---|
bool | Flag that compile was successful |