C# Class Microsoft.Build.BuildEngine.Engine

显示文件 Open project: kumpera/mono Class Usage Examples

Private Properties

Property Type Description
AddLoadedProject void
BuildProject bool
BuildProject bool
BuildProject bool
BuildProjectFile bool
BuildProjectFile bool
BuildProjectFile bool
BuildProjectFile bool
CheckBinPath void
ClearBuiltTargetsForProject void
EndProjectBuild void
Engine System
GetDefaultTasks Microsoft.Build.BuildEngine.TaskDatabase
LoadDefaultToolsets void
LogBuildFinished void
LogBuildStarted void
LogProjectFinished void
LogProjectStarted void
RegisterDefaultTasks Microsoft.Build.BuildEngine.TaskDatabase
RegisterLogger void
RemoveLoadedProject void
StartProjectBuild void
UnregisterAllLoggers void

Public Methods

Method Description
BuildProject ( Microsoft.Build.BuildEngine.Project project, string targetNames, IDictionary targetOutputs, BuildSettings buildFlags ) : bool
BuildProjectFile ( string projectFile, string targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags ) : bool
BuildProjectFile ( string projectFile, string targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags, string toolsVersion ) : bool
CreateNewProject ( ) : Microsoft.Build.BuildEngine.Project
Engine ( Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties ) : System
Engine ( Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, ToolsetDefinitionLocations locations ) : System
Engine ( ToolsetDefinitionLocations locations ) : System
Engine ( string binPath ) : System
GetLoadedProject ( string projectFullFileName ) : Microsoft.Build.BuildEngine.Project
UnloadAllProjects ( ) : void
UnloadProject ( Microsoft.Build.BuildEngine.Project project ) : void

Private Methods

Method Description
AddLoadedProject ( Microsoft.Build.BuildEngine.Project p ) : void
BuildProject ( Microsoft.Build.BuildEngine.Project project ) : bool
BuildProject ( Microsoft.Build.BuildEngine.Project project, string targetName ) : bool
BuildProject ( Microsoft.Build.BuildEngine.Project project, string targetNames, IDictionary targetOutputs ) : bool
BuildProjectFile ( string projectFile ) : bool
BuildProjectFile ( string projectFile, string targetName ) : bool
BuildProjectFile ( string projectFile, string targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties ) : bool
BuildProjectFile ( string projectFile, string targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs ) : bool
CheckBinPath ( ) : void
ClearBuiltTargetsForProject ( Microsoft.Build.BuildEngine.Project project ) : void
EndProjectBuild ( Microsoft.Build.BuildEngine.Project project, bool succeeded ) : void
Engine ( ) : System
GetDefaultTasks ( string toolsVersion ) : Microsoft.Build.BuildEngine.TaskDatabase
LoadDefaultToolsets ( ) : void
LogBuildFinished ( bool succeeded ) : void
LogBuildStarted ( ) : void
LogProjectFinished ( Microsoft.Build.BuildEngine.Project project, bool succeeded ) : void
LogProjectStarted ( Microsoft.Build.BuildEngine.Project project, string target_names ) : void
RegisterDefaultTasks ( string tasksFile ) : Microsoft.Build.BuildEngine.TaskDatabase
RegisterLogger ( ILogger logger ) : void
RemoveLoadedProject ( Microsoft.Build.BuildEngine.Project p ) : void
StartProjectBuild ( Microsoft.Build.BuildEngine.Project project, string target_names ) : void
UnregisterAllLoggers ( ) : void

Method Details

BuildProject() public method

public BuildProject ( Microsoft.Build.BuildEngine.Project project, string targetNames, IDictionary targetOutputs, BuildSettings buildFlags ) : bool
project Microsoft.Build.BuildEngine.Project
targetNames string
targetOutputs IDictionary
buildFlags BuildSettings
return bool

BuildProjectFile() public method

public BuildProjectFile ( string projectFile, string targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags ) : bool
projectFile string
targetNames string
globalProperties Microsoft.Build.BuildEngine.BuildPropertyGroup
targetOutputs IDictionary
buildFlags BuildSettings
return bool

BuildProjectFile() public method

public BuildProjectFile ( string projectFile, string targetNames, Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, IDictionary targetOutputs, BuildSettings buildFlags, string toolsVersion ) : bool
projectFile string
targetNames string
globalProperties Microsoft.Build.BuildEngine.BuildPropertyGroup
targetOutputs IDictionary
buildFlags BuildSettings
toolsVersion string
return bool

CreateNewProject() public method

public CreateNewProject ( ) : Microsoft.Build.BuildEngine.Project
return Microsoft.Build.BuildEngine.Project

Engine() public method

public Engine ( Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties ) : System
globalProperties Microsoft.Build.BuildEngine.BuildPropertyGroup
return System

Engine() public method

public Engine ( Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, ToolsetDefinitionLocations locations ) : System
globalProperties Microsoft.Build.BuildEngine.BuildPropertyGroup
locations ToolsetDefinitionLocations
return System

Engine() public method

public Engine ( ToolsetDefinitionLocations locations ) : System
locations ToolsetDefinitionLocations
return System

Engine() public method

public Engine ( string binPath ) : System
binPath string
return System

GetLoadedProject() public method

public GetLoadedProject ( string projectFullFileName ) : Microsoft.Build.BuildEngine.Project
projectFullFileName string
return Microsoft.Build.BuildEngine.Project

UnloadAllProjects() public method

public UnloadAllProjects ( ) : void
return void

UnloadProject() public method

public UnloadProject ( Microsoft.Build.BuildEngine.Project project ) : void
project Microsoft.Build.BuildEngine.Project
return void