Method | Description | |
---|---|---|
CSharpProjectGenerator ( IBuildSystem buildSystem, string projectName, string outputDirectory ) : System |
Initializes a new instance of the CSharpProjectGenerator class within the given projectName which will output to the given outputDirectory.
|
|
GenerateProjectFile ( ) : void |
Generates the project file. This method is responsible for actually generating the XML which will represent the project as well including all necessary resources and references.
|
Method | Description | |
---|---|---|
AddClassFiles ( ) : void |
Adds an ItemGroup to the project file which includes the class files which will be part of the project.
|
|
AddDefaultTarget ( ) : void |
Writes the default target to the project file.
|
|
AddReferencedAssemblies ( ) : void |
Adds an ItemGroup to the project file which includes the list of assemblies which will be referenced as part of the project.
|
|
WriteDebugConfiguration ( ) : void |
Writes a Configuration element to the project file specifying the Debug configuration.
|
|
WriteDefaultConfiguration ( ) : void |
Writes a Configuration element to the project file specifying the default configuration.
|
|
WritePropertyGroupElement ( ) : void |
Writes an empty property group element to the project file.
|
|
WritePropertyGroupElement ( string configuration, string platform ) : void |
Writes a property group element with the given configuration and platform to the project file.
|
|
WriteReleaseConfiguration ( ) : void |
Writes a Configuration element to the project file specifying the Release configuration.
|
public CSharpProjectGenerator ( IBuildSystem buildSystem, string projectName, string outputDirectory ) : System | ||
buildSystem | IBuildSystem | The build system. |
projectName | string | The name of the project. |
outputDirectory | string | The directory where the project /// will be output. |
return | System |