IVsSolutionBuildManager::StartSimpleUpdateProjectConfiguration Method (IVsHierarchy^, IVsHierarchy^, String^, UInt32, UInt32, Int32)

 

This is a variant of the update command that allows you to build, clean, deploy, or launch a single project configuration.

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

int StartSimpleUpdateProjectConfiguration(
	IVsHierarchy^ pIVsHierarchyToBuild,
	IVsHierarchy^ pIVsHierarchyDependent,
	String^ pszDependentConfigurationCanonicalName,
	unsigned int dwFlags,
	unsigned int dwDefQueryResults,
	int fSuppressUI
)

Parameters

pIVsHierarchyToBuild
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] Pointer to the IVsHierarchy object of the project to build.

pIVsHierarchyDependent
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] Pointer to an optional dependent project in the dependency graph contained in IVsHierarchy.

pszDependentConfigurationCanonicalName
Type: System::String^

[in] Pointer to a null terminated string containing the optional dependent configuration canonical name.

dwFlags
Type: System::UInt32

[in] Double word containing the build update flags. For more information see VSSOLNBUILDUPDATEFLAGS2.

dwDefQueryResults
Type: System::UInt32

[in] Double word containing the def query results. For more information see VSSOLNBUILDQUERYRESULTS.

fSuppressUI
Type: System::Int32

[in] Set to true to use the default response to any dialogs, which will not be displayed; 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 IVsSolutionBuildManager::StartSimpleUpdateProjectConfiguration(
   [in] IVsHierarchy *pIVsHierarchyToBuild,
   [in] IVsHierarchy *pIVsHierarchyDependent,
   [in] LPCOLESTR pszDependentConfigurationCanonicalName,
   [in] DWORD dwFlags,
   [in] DWORD dwDefQueryResults
);

The pointers pIVsHierarchyDependent and pszDependentConfigurationCanonicalName are not used in the method implementation and must be null. Otherwise E_INVALIDARG will be returned.

Return to top
Show: