C# Class NAnt.VSNet.ProjectSettings

显示文件 Open project: skolima/NAnt Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetProjectGuid ( string projectFile, XmlElement elemRoot ) : string

Gets the project GUID from the given XmlElement holding a <VisualStudioProject> node.

GetTemporaryFilename ( string fileName ) : string
ProjectSettings ( XmlElement elemRoot, XmlElement elemSettings, ManagedProjectBase project ) : System

Protected Methods

Method Description
GetOutputType ( XmlElement settingsXml ) : ManagedOutputType

Determines the output type of the project from its XML definition.

Method Details

GetOutputType() protected method

Determines the output type of the project from its XML definition.
/// /// The output type of the project is not set in the specified XML /// definition. /// /// -or- /// /// The output type of the project is not supported. /// ///
protected GetOutputType ( XmlElement settingsXml ) : ManagedOutputType
settingsXml System.Xml.XmlElement The XML definition of the project settings.
return ManagedOutputType

GetProjectGuid() public static method

Gets the project GUID from the given XmlElement holding a <VisualStudioProject> node.
public static GetProjectGuid ( string projectFile, XmlElement elemRoot ) : string
projectFile string The path of the project file.
elemRoot System.Xml.XmlElement The <VisualStudioProject> node from which the project GUID should be retrieved.
return string

GetTemporaryFilename() public method

public GetTemporaryFilename ( string fileName ) : string
fileName string
return string

ProjectSettings() public method

public ProjectSettings ( XmlElement elemRoot, XmlElement elemSettings, ManagedProjectBase project ) : System
elemRoot System.Xml.XmlElement
elemSettings System.Xml.XmlElement
project ManagedProjectBase
return System