IVsSolutionBuildManager2::StartUpdateSpecificProjectConfigurations Method (UInt32, array<IVsHierarchy^>^, array<IVsCfg^>^, array<UInt32>^, array<UInt32>^, array<UInt32>^, UInt32, Int32)

 

Use this method to maintain total control of a build process.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int StartUpdateSpecificProjectConfigurations(
	unsigned int cProjs,
	array<IVsHierarchy^>^ rgpHier,
	array<IVsCfg^>^ rgpcfg,
	array<unsigned int>^ rgdwCleanFlags,
	array<unsigned int>^ rgdwBuildFlags,
	array<unsigned int>^ rgdwDeployFlags,
	unsigned int dwFlags,
	int fSuppressUI
)

Parameters

cProjs
Type: System::UInt32

[in] Count of projects.

rgpHier
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^>^

[in] Specifies projects to build.

rgpcfg
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsCfg^>^

[in] A configuration in the projects specified in rgpHier.

rgdwCleanFlags
Type: array<System::UInt32>^

[in] dwOptions parameter for each corresponding project in rgpHier to StartBuildEx. Can be null.

rgdwBuildFlags
Type: array<System::UInt32>^

[in] dwOptions for each corresponding project in rgpHier to StartBuildEx. Can be null

rgdwDeployFlags
Type: array<System::UInt32>^

[in] dwOptions for each corresponding project in rgpHier to StartDeploy. Can be null.

dwFlags
Type: System::UInt32

[in] Double word containing VSSOLNBUILDUPDATEFLAGS flags.

fSuppressUI
Type: System::Int32

[in] Flag should be set true to use the default response to any dialogs, which will be suppressed; otherwise false.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsSolutionBuildManager2::StartUpdateSpecificProjectConfigurations(
   [in] UINT cProjs,
   [in, size_is(cProjs)] IVsHierarchy *rgpHier[],
   [in, size_is(cProjs)] IVsCfg *rgpCfg[],
   [in, size_is(cProjs)] DWORD rgdwCleanFlags[],
   [in, size_is(cProjs)] DWORD rgdwBuildFlags[],
   [in, size_is(cProjs)] DWORD rgdwDeployFlags[],
   [in] DWORD dwFlags, [in] BOOL fSuppressUI
);

Use this method to have total control of a build. Only specified projects and configurations will be built in the order of appearance in rgpHier; dependent projects will not be built.

The Build/Clean/Deploy flags all default to zero if the corresponding parameter array is null.

Return to top
Show: