C# Класс Microsoft.Build.BuildEngine.Engine

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

BuildProject() публичный Метод

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
Результат bool

BuildProjectFile() публичный Метод

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
Результат bool

BuildProjectFile() публичный Метод

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
Результат bool

CreateNewProject() публичный Метод

public CreateNewProject ( ) : Microsoft.Build.BuildEngine.Project
Результат Microsoft.Build.BuildEngine.Project

Engine() публичный Метод

public Engine ( Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties ) : System
globalProperties Microsoft.Build.BuildEngine.BuildPropertyGroup
Результат System

Engine() публичный Метод

public Engine ( Microsoft.Build.BuildEngine.BuildPropertyGroup globalProperties, ToolsetDefinitionLocations locations ) : System
globalProperties Microsoft.Build.BuildEngine.BuildPropertyGroup
locations ToolsetDefinitionLocations
Результат System

Engine() публичный Метод

public Engine ( ToolsetDefinitionLocations locations ) : System
locations ToolsetDefinitionLocations
Результат System

Engine() публичный Метод

public Engine ( string binPath ) : System
binPath string
Результат System

GetLoadedProject() публичный Метод

public GetLoadedProject ( string projectFullFileName ) : Microsoft.Build.BuildEngine.Project
projectFullFileName string
Результат Microsoft.Build.BuildEngine.Project

UnloadAllProjects() публичный Метод

public UnloadAllProjects ( ) : void
Результат void

UnloadProject() публичный Метод

public UnloadProject ( Microsoft.Build.BuildEngine.Project project ) : void
project Microsoft.Build.BuildEngine.Project
Результат void