C# Class CCNet.Common.ProjectHelper

Common methods for working with project.
Mostra file Open project: shuruev/CCNet.Extensions

Public Methods

Method Description
GetBinaryReferences ( ) : List

Gets binary references.

GetCommonProperties ( ) : string>.Dictionary

Gets all common properties.

GetDebugProperties ( ) : string>.Dictionary

Gets all properties specific to Debug configuration.

GetProjectItems ( ) : List

Gets project items.

GetProjectReferences ( ) : List

Gets project references.

GetReleaseProperties ( ) : string>.Dictionary

Gets all properties specific to Release configuration.

GetUsedConditions ( ) : List

Gets a list of used conditions.

GetUsedConfigurations ( ) : List

Gets a list of used configurations.

GetUsedPlatforms ( ) : List

Gets a list of used platforms.

GetVisualStudioVersion ( ) : string

Gets Visual Studio version.

LoadProject ( string projectFilePath ) : void

Loads project document.

Private Methods

Method Description
GetConditionProperties ( string condition ) : string>.Dictionary

Gets all properties specific to condition.

GetFromArgument ( ArgumentProperties args, string key ) : string

Gets reference field from an argument.

GetFromProperty ( string>.IDictionary properties, string key ) : string

Gets reference field from a property.

GetProjectItem ( XmlNode node ) : CCNet.Common.ProjectItem

Gets project item from an XML node.

GetToolsVersion ( ) : string

Gets the value of "Tools Version" project attribute.

ResolveVisualStudioVersion ( string toolsVersion ) : string

Converts tools version string to Visual Studio version.

SelectNodes ( string xpath ) : XmlNodeList

Executes XPath query over existing project document and namespace manager.

SelectSingleNode ( string xpath ) : XmlNode

Executes XPath query over existing project document and namespace manager.

Method Details

GetBinaryReferences() public static method

Gets binary references.
public static GetBinaryReferences ( ) : List
return List

GetCommonProperties() public static method

Gets all common properties.
public static GetCommonProperties ( ) : string>.Dictionary
return string>.Dictionary

GetDebugProperties() public static method

Gets all properties specific to Debug configuration.
public static GetDebugProperties ( ) : string>.Dictionary
return string>.Dictionary

GetProjectItems() public static method

Gets project items.
public static GetProjectItems ( ) : List
return List

GetProjectReferences() public static method

Gets project references.
public static GetProjectReferences ( ) : List
return List

GetReleaseProperties() public static method

Gets all properties specific to Release configuration.
public static GetReleaseProperties ( ) : string>.Dictionary
return string>.Dictionary

GetUsedConditions() public static method

Gets a list of used conditions.
public static GetUsedConditions ( ) : List
return List

GetUsedConfigurations() public static method

Gets a list of used configurations.
public static GetUsedConfigurations ( ) : List
return List

GetUsedPlatforms() public static method

Gets a list of used platforms.
public static GetUsedPlatforms ( ) : List
return List

GetVisualStudioVersion() public static method

Gets Visual Studio version.
public static GetVisualStudioVersion ( ) : string
return string

LoadProject() public static method

Loads project document.
public static LoadProject ( string projectFilePath ) : void
projectFilePath string
return void