C# Class DeploymentTracker.Services.Tasks.BuildTasks

Contains all build tasks
Inheritance: IDisposable
Mostra file Open project: RyanTBerry/WindowsAzureDeploymentTracker

Public Methods

Method Description
BuildTasks ( BuildArgs buildArgs ) : System

Initializes a new instance of the BuildTasks class.

CreateDedicatedTfsWorkSpace ( ) : void

Creates the dedicated TFS work space.

DeleteDedicatedTfsWorkSpace ( ) : void

Deletes the dedicated TFS work space.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ExecMsBuild ( ) : bool

Execs the ms build.

GetTfsLabelCodeToLocal ( string tfsLabelName ) : void

Gets the TFS label code to local.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources The bulk of the clean-up code is implemented in Dispose(bool)

Private Methods

Method Description
CreateRequiredFolders ( ) : void

Creates the required folders.

CreateUniqueBuildDirectory ( string actualsolutionName, string tfsWorkingPath ) : string

Creates the unique build directory for the solution.

ExecuteProcessWithTF ( string tfsParameters ) : void

Executes TF.exe using parameters

GetPackageFilePath ( ) : string

Gets the package file path.

GetSolutionFilePath ( ) : string

Gets the solution file path.

LogToFile ( string logData ) : void

Logs to file.

Method Details

BuildTasks() public method

Initializes a new instance of the BuildTasks class.
public BuildTasks ( BuildArgs buildArgs ) : System
buildArgs DeploymentTracker.Services.Entities.BuildArgs
return System

CreateDedicatedTfsWorkSpace() public method

Creates the dedicated TFS work space.
public CreateDedicatedTfsWorkSpace ( ) : void
return void

DeleteDedicatedTfsWorkSpace() public method

Deletes the dedicated TFS work space.
public DeleteDedicatedTfsWorkSpace ( ) : void
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources The bulk of the clean-up code is implemented in Dispose(bool)
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

ExecMsBuild() public method

Execs the ms build.
public ExecMsBuild ( ) : bool
return bool

GetTfsLabelCodeToLocal() public method

Gets the TFS label code to local.
public GetTfsLabelCodeToLocal ( string tfsLabelName ) : void
tfsLabelName string Name of the TFS label.
return void