C# Class NAnt.MSBuild.MSBuildProject

Inheritance: NAnt.VSNet.ProjectBase
Afficher le fichier Open project: skolima/NAnt Class Usage Examples

Private Properties

Свойство Type Description
IsUrl bool
LoadGuid string

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
IsUrl ( string fileName ) : bool
LoadGuid ( XmlElement e, XmlNamespaceManager nm ) : string

Method Details

Build() protected méthode

protected Build ( NAnt.VSNet.Configuration solutionConfiguration ) : BuildResult
solutionConfiguration NAnt.VSNet.Configuration
Résultat BuildResult

CreateProjectReference() public méthode

public CreateProjectReference ( ProjectBase project, bool isPrivateSpecified, bool isPrivate ) : ProjectReferenceBase
project NAnt.VSNet.ProjectBase
isPrivateSpecified bool
isPrivate bool
Résultat NAnt.VSNet.ProjectReferenceBase

DetermineProductVersion() protected méthode

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. ///
Résultat ProductVersion

IsMSBuildProject() public static méthode

public static IsMSBuildProject ( XmlDocument doc ) : bool
doc System.Xml.XmlDocument
Résultat bool

IsMSBuildProject() public static méthode

public static IsMSBuildProject ( XmlElement e ) : bool
e System.Xml.XmlElement
Résultat bool

IsManaged() public méthode

public IsManaged ( NAnt.VSNet.Configuration configuration ) : bool
configuration NAnt.VSNet.Configuration
Résultat bool

LoadGuid() public static méthode

public static LoadGuid ( XmlDocument doc ) : string
doc System.Xml.XmlDocument
Résultat string

LoadGuid() public static méthode

public static LoadGuid ( XmlElement e ) : string
e System.Xml.XmlElement
Résultat string

MSBuildProject() public méthode

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
Résultat System

VerifyProjectXml() protected méthode

protected VerifyProjectXml ( System docElement ) : void
docElement System
Résultat void