Project
Aliases
Returns the project information specific to a build configuration
CustomParseProjectResult project = ParseProject(new FilePath("test.csproj"), "Release");
Extensions
Identifies the project as a library
// dll or console app?
ParseProject(new FilePath("testDll.csproj")).IsLibrary(); // true
ParseProject(new FilePath("testConsole.csproj")).IsLibrary(); // false
Identifies the project by type
// csharp test project
CustomParseProjectResult result = ParseProject(new FilePath("testDll.csproj"), "Debug");
result.IsType(ProjectTypes.CSharp); // true
reuslt.IsType(ProjectTypes.Test); // true
// mvc web project
CustomParseProjectResult result = ParseProject(new FilePath("web.csproj"), "Debug");
result.IsType(ProjectTypes.WebApplication); // true
result.IsType(ProjectTypes.CSharp); // true
result.IsType(ProjectTypes.AspNetMvc5); // true