This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Incubator.
Summary
Checks if the project is an MSTest compatible project
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .Project - Containing Type
- Project
Parser Extensions
Syntax
public static bool IsMSTestProject(this CustomProjectParserResult projectParserResult)
Examples
Check if a parsed project is an MSTest compatible project
CustomParseProjectResult project = ParseProject(new FilePath("test.csproj"), "Release");
if (project.IsMSTestProject()) { ... }
Parameters
Name | Type | Description |
---|---|---|
projectParserResult | Custom |
the parsed project |
Return Value
Type | Description |
---|---|
bool | true if the project is an MSTest compatible project |