C# Класс NAnt.MSBuild.MSBuildProject

Наследование: NAnt.VSNet.ProjectBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
IsUrl bool
LoadGuid string

Открытые методы

Метод Описание
CreateProjectReference ( ProjectBase project, bool isPrivateSpecified, bool isPrivate ) : ProjectReferenceBase
IsMSBuildProject ( XmlDocument doc ) : bool
IsMSBuildProject ( XmlElement e ) : bool
IsManaged ( NAnt.VSNet.Configuration configuration ) : bool
LoadGuid ( XmlDocument doc ) : string
LoadGuid ( XmlElement e ) : string
MSBuildProject ( SolutionBase solution, string projectPath, XmlElement xmlDefinition, NAnt.VSNet.Tasks.SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir ) : System

Защищенные методы

Метод Описание
Build ( NAnt.VSNet.Configuration solutionConfiguration ) : BuildResult
DetermineProductVersion ( System docElement ) : ProductVersion

Determines the version of the target msbuild file.

This method identifies the msbuild version by reviewing the following tags in order:

<ProductVersion> <TargetFrameworkVersion> ToolsVersion attribute
VerifyProjectXml ( System docElement ) : void

Приватные методы

Метод Описание
IsUrl ( string fileName ) : bool
LoadGuid ( XmlElement e, XmlNamespaceManager nm ) : string

Описание методов

Build() защищенный метод

protected Build ( NAnt.VSNet.Configuration solutionConfiguration ) : BuildResult
solutionConfiguration NAnt.VSNet.Configuration
Результат BuildResult

CreateProjectReference() публичный метод

public CreateProjectReference ( ProjectBase project, bool isPrivateSpecified, bool isPrivate ) : ProjectReferenceBase
project NAnt.VSNet.ProjectBase
isPrivateSpecified bool
isPrivate bool
Результат NAnt.VSNet.ProjectReferenceBase

DetermineProductVersion() защищенный метод

Determines the version of the target msbuild file.

This method identifies the msbuild version by reviewing the following tags in order:

<ProductVersion> <TargetFrameworkVersion> ToolsVersion attribute
/// version string found in the tags listed above is not recognized. ///
protected DetermineProductVersion ( System docElement ) : ProductVersion
docElement System /// A representing the msbuild project file. ///
Результат ProductVersion

IsMSBuildProject() публичный статический метод

public static IsMSBuildProject ( XmlDocument doc ) : bool
doc System.Xml.XmlDocument
Результат bool

IsMSBuildProject() публичный статический метод

public static IsMSBuildProject ( XmlElement e ) : bool
e System.Xml.XmlElement
Результат bool

IsManaged() публичный метод

public IsManaged ( NAnt.VSNet.Configuration configuration ) : bool
configuration NAnt.VSNet.Configuration
Результат bool

LoadGuid() публичный статический метод

public static LoadGuid ( XmlDocument doc ) : string
doc System.Xml.XmlDocument
Результат string

LoadGuid() публичный статический метод

public static LoadGuid ( XmlElement e ) : string
e System.Xml.XmlElement
Результат string

MSBuildProject() публичный метод

public MSBuildProject ( SolutionBase solution, string projectPath, XmlElement xmlDefinition, NAnt.VSNet.Tasks.SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir ) : System
solution NAnt.VSNet.SolutionBase
projectPath string
xmlDefinition System.Xml.XmlElement
solutionTask NAnt.VSNet.Tasks.SolutionTask
tfc System.CodeDom.Compiler.TempFileCollection
gacCache NAnt.Core.Util.GacCache
refResolver NAnt.VSNet.ReferencesResolver
outputDir System.IO.DirectoryInfo
Результат System

VerifyProjectXml() защищенный метод

protected VerifyProjectXml ( System docElement ) : void
docElement System
Результат void