Share via


IBuildService.CreateBuildProjectIncrementalAction Method

Definition

Create a build project incremental action

public:
 Microsoft::VisualStudio::Workspace::IFileContextActionBase ^ CreateBuildProjectIncrementalAction(System::String ^ projectFile, System::String ^ projectFileTarget, System::Collections::Generic::HashSet<System::String ^> ^ selectedReferences, System::Collections::Generic::HashSet<System::String ^> ^ excludedProjects, Microsoft::VisualStudio::Workspace::Build::IBuildConfigurationContext ^ buildConfigurationContext, Microsoft::VisualStudio::Workspace::Build::BuildType buildType, bool enableIncrementalBuild);
public Microsoft.VisualStudio.Workspace.IFileContextActionBase CreateBuildProjectIncrementalAction (string projectFile, string projectFileTarget, System.Collections.Generic.HashSet<string> selectedReferences, System.Collections.Generic.HashSet<string> excludedProjects, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, Microsoft.VisualStudio.Workspace.Build.BuildType buildType, bool enableIncrementalBuild);
public Microsoft.VisualStudio.Workspace.IFileContextActionBase CreateBuildProjectIncrementalAction (string projectFile, string? projectFileTarget, System.Collections.Generic.HashSet<string>? selectedReferences, System.Collections.Generic.HashSet<string>? excludedProjects, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, Microsoft.VisualStudio.Workspace.Build.BuildType buildType, bool enableIncrementalBuild);
abstract member CreateBuildProjectIncrementalAction : string * string * System.Collections.Generic.HashSet<string> * System.Collections.Generic.HashSet<string> * Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext * Microsoft.VisualStudio.Workspace.Build.BuildType * bool -> Microsoft.VisualStudio.Workspace.IFileContextActionBase
Public Function CreateBuildProjectIncrementalAction (projectFile As String, projectFileTarget As String, selectedReferences As HashSet(Of String), excludedProjects As HashSet(Of String), buildConfigurationContext As IBuildConfigurationContext, buildType As BuildType, enableIncrementalBuild As Boolean) As IFileContextActionBase

Parameters

projectFile
String

The project file context

projectFileTarget
String

Optional project target

selectedReferences
HashSet<String>

list of root project references to build, if null - all references

excludedProjects
HashSet<String>

list of excluded projects (typically user unloaded projects in solution case)

buildConfigurationContext
IBuildConfigurationContext

The build configuration context

buildType
BuildType

build type (build, rebuild, etc)

enableIncrementalBuild
Boolean

Enable incremental build (UTD check)

Returns

A file context action that is able to build incremental

Applies to