共用方式為


IVsSolutionBuildManager.StartSimpleUpdateSolutionConfiguration Method

Definition

Builds, cleans, or deploys a list of solutions.

public:
 int StartSimpleUpdateSolutionConfiguration(System::UInt32 dwFlags, System::UInt32 dwDefQueryResults, int fSuppressUI);
public:
 int StartSimpleUpdateSolutionConfiguration(unsigned int dwFlags, unsigned int dwDefQueryResults, int fSuppressUI);
int StartSimpleUpdateSolutionConfiguration(unsigned int dwFlags, unsigned int dwDefQueryResults, int fSuppressUI);
public int StartSimpleUpdateSolutionConfiguration (uint dwFlags, uint dwDefQueryResults, int fSuppressUI);
abstract member StartSimpleUpdateSolutionConfiguration : uint32 * uint32 * int -> int
Public Function StartSimpleUpdateSolutionConfiguration (dwFlags As UInteger, dwDefQueryResults As UInteger, fSuppressUI As Integer) As Integer

Parameters

dwFlags
UInt32

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

dwDefQueryResults
UInt32

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

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::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.

Applies to