Compartir a través de


IVsSolutionBuildManager2.StartSimpleUpdateSolutionConfiguration Method

Builds, cleans, or deploys a list of solutions.

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

Syntax

'Declaration
Function StartSimpleUpdateSolutionConfiguration ( _
    dwFlags As UInteger, _
    dwDefQueryResults As UInteger, _
    fSuppressUI As Integer _
) As Integer
int StartSimpleUpdateSolutionConfiguration(
    uint dwFlags,
    uint dwDefQueryResults,
    int fSuppressUI
)
int StartSimpleUpdateSolutionConfiguration(
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] unsigned int dwDefQueryResults, 
    [InAttribute] int fSuppressUI
)
abstract StartSimpleUpdateSolutionConfiguration : 
        dwFlags:uint32 * 
        dwDefQueryResults:uint32 * 
        fSuppressUI:int -> int
function StartSimpleUpdateSolutionConfiguration(
    dwFlags : uint, 
    dwDefQueryResults : uint, 
    fSuppressUI : int
) : int

Parameters

  • dwFlags
    Type: UInt32

    [in] Double word containing the build update flags. See VSSOLNBUILDUPDATEFLAGS for more information.

  • dwDefQueryResults
    Type: UInt32

    [in] Double word containing the DefQueryResults. See VSSOLNBUILDQUERYRESULTS for more information.

  • 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 IVsSolutionBuildManager2::StartSimpleUpdateSolutionConfiguration(
   [in] DWORD dwFlags,
   [in] DWORD dwDefQueryResults,
   [in] BOOL fSuppressUI
);

StartSimpleUpdateSolutionConfiguration is a variant of the update command and allows you to build, clean, deploy, or launch a single solution configuration. The solution configuration will determine the whole set of projects to be built based on how the solution configuration is defined in the Solution Configuration Property Pages dialog. It is on this dialog that you specify which projects to build and which to deploy. For more information, see Solution Configuration.

.NET Framework Security

See Also

Reference

IVsSolutionBuildManager2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace