Share via


IVsSolutionBuildManager.StartSimpleUpdateProjectConfiguration Method

Definition

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

public:
 int StartSimpleUpdateProjectConfiguration(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pIVsHierarchyToBuild, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pIVsHierarchyDependent, System::String ^ pszDependentConfigurationCanonicalName, System::UInt32 dwFlags, System::UInt32 dwDefQueryResults, int fSuppressUI);
public:
 int StartSimpleUpdateProjectConfiguration(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pIVsHierarchyToBuild, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pIVsHierarchyDependent, Platform::String ^ pszDependentConfigurationCanonicalName, unsigned int dwFlags, unsigned int dwDefQueryResults, int fSuppressUI);
int StartSimpleUpdateProjectConfiguration(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pIVsHierarchyToBuild, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pIVsHierarchyDependent, std::wstring const & pszDependentConfigurationCanonicalName, unsigned int dwFlags, unsigned int dwDefQueryResults, int fSuppressUI);
public int StartSimpleUpdateProjectConfiguration (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pIVsHierarchyToBuild, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pIVsHierarchyDependent, string pszDependentConfigurationCanonicalName, uint dwFlags, uint dwDefQueryResults, int fSuppressUI);
abstract member StartSimpleUpdateProjectConfiguration : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * string * uint32 * uint32 * int -> int
Public Function StartSimpleUpdateProjectConfiguration (pIVsHierarchyToBuild As IVsHierarchy, pIVsHierarchyDependent As IVsHierarchy, pszDependentConfigurationCanonicalName As String, dwFlags As UInteger, dwDefQueryResults As UInteger, fSuppressUI As Integer) As Integer

Parameters

pIVsHierarchyToBuild
IVsHierarchy

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

pIVsHierarchyDependent
IVsHierarchy

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

pszDependentConfigurationCanonicalName
String

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

dwFlags
UInt32

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

dwDefQueryResults
UInt32

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

fSuppressUI
Int32

[in] Set to true to use the default response to any dialogs, which will not be displayed; otherwise false.

Returns

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

Remarks

COM Signature

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.

Applies to