C# 클래스 NAnt.VSNet.SolutionBase

파일 보기 프로젝트 열기: skolima/NAnt 1 사용 예제들

공개 메소드들

메소드 설명
Compile ( NAnt.VSNet.Configuration solutionConfiguration ) : bool
GetProjectFileFromGuid ( string projectGuid ) : string

Gets the project file of the project with the given unique identifier.

GetProjectFromGuid ( string projectGuid ) : ProjectBase
RecursiveLoadTemplateProject ( string fileName ) : void

보호된 메소드들

메소드 설명
CreateProjectDoesNotExistException ( string projectPath ) : BuildException
FixProjectReferences ( ProjectBase project, NAnt.VSNet.Configuration solutionConfiguration, Hashtable builtProjects, Hashtable failedProjects ) : bool

Converts assembly references to projects to project references, adding a build dependency.c

GetDependenciesFromProjects ( NAnt.VSNet.Configuration solutionConfiguration ) : void
LoadProjectGuids ( ArrayList projects, bool isReferenceProject ) : void
LoadProjects ( GacCache gacCache, ReferencesResolver refResolver, Hashtable explicitProjectDependencies ) : void

Loads the projects from the file system and stores them in an instance variable.

Log ( Level messageLevel, string message ) : void

Logs a message with the given priority.

The actual logging is delegated to the underlying task.

SetProjectBuildConfiguration ( NAnt.VSNet.ProjectEntry projectEntry ) : void
SolutionBase ( NAnt.VSNet.Tasks.SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver ) : System
TranslateProjectPath ( string solutionDir, string projectPath ) : string

Translates a project path, in the form of a relative file path or a URL, to an absolute file path.

비공개 메소드들

메소드 설명
FindGuidFromPath ( string projectPath ) : string
HasDirtyProjectDependency ( ProjectBase project, Hashtable builtProjects ) : bool

Determines whether any of the project dependencies of the specified project still needs to be built.

SolutionBase ( TempFileCollection tfc, NAnt.VSNet.Tasks.SolutionTask solutionTask ) : System

메소드 상세

Compile() 공개 메소드

public Compile ( NAnt.VSNet.Configuration solutionConfiguration ) : bool
solutionConfiguration NAnt.VSNet.Configuration
리턴 bool

CreateProjectDoesNotExistException() 보호된 메소드

protected CreateProjectDoesNotExistException ( string projectPath ) : BuildException
projectPath string
리턴 NAnt.Core.BuildException

FixProjectReferences() 보호된 메소드

Converts assembly references to projects to project references, adding a build dependency.c
protected FixProjectReferences ( ProjectBase project, NAnt.VSNet.Configuration solutionConfiguration, Hashtable builtProjects, Hashtable failedProjects ) : bool
project ProjectBase The to analyze.
solutionConfiguration NAnt.VSNet.Configuration The solution configuration that is built.
builtProjects System.Collections.Hashtable containing list of projects that have been built.
failedProjects System.Collections.Hashtable containing list of projects that failed to build.
리턴 bool

GetDependenciesFromProjects() 보호된 메소드

protected GetDependenciesFromProjects ( NAnt.VSNet.Configuration solutionConfiguration ) : void
solutionConfiguration NAnt.VSNet.Configuration
리턴 void

GetProjectFileFromGuid() 공개 메소드

Gets the project file of the project with the given unique identifier.
No project with unique identifier could be located.
public GetProjectFileFromGuid ( string projectGuid ) : string
projectGuid string The unique identifier of the project for which the project file should be retrieves.
리턴 string

GetProjectFromGuid() 공개 메소드

public GetProjectFromGuid ( string projectGuid ) : ProjectBase
projectGuid string
리턴 ProjectBase

LoadProjectGuids() 보호된 메소드

protected LoadProjectGuids ( ArrayList projects, bool isReferenceProject ) : void
projects System.Collections.ArrayList
isReferenceProject bool
리턴 void

LoadProjects() 보호된 메소드

Loads the projects from the file system and stores them in an instance variable.
A project GUID in the solution file does not match the actual GUID of the project in the project file.
protected LoadProjects ( GacCache gacCache, ReferencesResolver refResolver, Hashtable explicitProjectDependencies ) : void
gacCache NAnt.Core.Util.GacCache instance to use to determine whether an assembly is located in the Global Assembly Cache.
refResolver ReferencesResolver instance to use to determine location and references of assemblies.
explicitProjectDependencies System.Collections.Hashtable TODO
리턴 void

Log() 보호된 메소드

Logs a message with the given priority.
The actual logging is delegated to the underlying task.
protected Log ( Level messageLevel, string message ) : void
messageLevel Level The message priority at which the specified message is to be logged.
message string The message to be logged.
리턴 void

RecursiveLoadTemplateProject() 공개 메소드

public RecursiveLoadTemplateProject ( string fileName ) : void
fileName string
리턴 void

SetProjectBuildConfiguration() 보호된 메소드

protected SetProjectBuildConfiguration ( NAnt.VSNet.ProjectEntry projectEntry ) : void
projectEntry NAnt.VSNet.ProjectEntry
리턴 void

SolutionBase() 보호된 메소드

protected SolutionBase ( NAnt.VSNet.Tasks.SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver ) : System
solutionTask NAnt.VSNet.Tasks.SolutionTask
tfc System.CodeDom.Compiler.TempFileCollection
gacCache NAnt.Core.Util.GacCache
refResolver ReferencesResolver
리턴 System

TranslateProjectPath() 보호된 메소드

Translates a project path, in the form of a relative file path or a URL, to an absolute file path.
protected TranslateProjectPath ( string solutionDir, string projectPath ) : string
solutionDir string The directory of the solution.
projectPath string The project path to translate to an absolute file path.
리턴 string