Summary
Test whether project is VS2005 project and could be built using <msbuild>
- Assembly
- NAnt
.MSBuild .dll - Namespace
- NAnt
.MSBuild .Functions - Containing Type
- MSBuildFunctions
Syntax
[Function("is-msbuild-project")]
public bool IsMsbuildProject(string project)
Attributes
| Type | Description |
|---|---|
| FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Parameters
| Name | Type | Description |
|---|---|---|
| project | string | The name or path of the project file (csproj, vbproj, ...). |
Return Value
| Type | Description |
|---|---|
| bool | True, if it is msbuild project, False otherwise. |
