class CSProject

Contains helper functionality for the generation of .csproj files, as well as the .sln file.

Those are used by C# IDE's like Visual Studio and MonoDevelop, and build systems like msbuild or xbuild.

Public

Methods

staticWriteSolution

static String WriteSolution(CSProjectVersion version, const CodeSolutionData &data)

Builds the .sln text for the provided version, using the provided solution data.

version
Visual Studio version for which we're generating the solution file.
data
Data containing a list of projects and other information required to build the solution text.

Returns: Generated text of the solution file.

staticWriteProject

static String WriteProject(CSProjectVersion version, const CodeProjectData &projectData)

Builds the .csproj text for the provided version, using the provided project data.

version
Visual Studio version for which we're generating the project file.
projectData
Data containing a list of files, references and other information required to build the project text.

Returns: Generated text of the project file.