IVsSolutionBuildManager.StartSimpleUpdateProjectConfiguration Method
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)
Syntax
'Declaration
Function StartSimpleUpdateProjectConfiguration ( _
pIVsHierarchyToBuild As IVsHierarchy, _
pIVsHierarchyDependent As IVsHierarchy, _
pszDependentConfigurationCanonicalName As String, _
dwFlags As UInteger, _
dwDefQueryResults As UInteger, _
fSuppressUI As Integer _
) As Integer
int StartSimpleUpdateProjectConfiguration(
IVsHierarchy pIVsHierarchyToBuild,
IVsHierarchy pIVsHierarchyDependent,
string pszDependentConfigurationCanonicalName,
uint dwFlags,
uint dwDefQueryResults,
int fSuppressUI
)
int StartSimpleUpdateProjectConfiguration(
[InAttribute] IVsHierarchy^ pIVsHierarchyToBuild,
[InAttribute] IVsHierarchy^ pIVsHierarchyDependent,
[InAttribute] String^ pszDependentConfigurationCanonicalName,
[InAttribute] unsigned int dwFlags,
[InAttribute] unsigned int dwDefQueryResults,
[InAttribute] int fSuppressUI
)
abstract StartSimpleUpdateProjectConfiguration :
pIVsHierarchyToBuild:IVsHierarchy *
pIVsHierarchyDependent:IVsHierarchy *
pszDependentConfigurationCanonicalName:string *
dwFlags:uint32 *
dwDefQueryResults:uint32 *
fSuppressUI:int -> int
function StartSimpleUpdateProjectConfiguration(
pIVsHierarchyToBuild : IVsHierarchy,
pIVsHierarchyDependent : IVsHierarchy,
pszDependentConfigurationCanonicalName : String,
dwFlags : uint,
dwDefQueryResults : uint,
fSuppressUI : int
) : int
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: String[in] Pointer to a null terminated string containing the optional dependent configuration canonical name.
dwFlags
Type: UInt32[in] Double word containing the build update flags. For more information see VSSOLNBUILDUPDATEFLAGS2.
dwDefQueryResults
Type: UInt32[in] Double word containing the def query results. For more information see VSSOLNBUILDQUERYRESULTS.
fSuppressUI
Type: Int32[in] Set to true to use the default response to any dialogs, which will not be displayed; otherwise false.
Return Value
Type: Int32
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 nulla null reference (Nothing in Visual Basic). Otherwise E_INVALIDARG will be returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.