共用方式為


VSSOLNBUILDUPDATEFLAGS Enumeration

Identifies solution build updates.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration VSSOLNBUILDUPDATEFLAGS
'用途
Dim instance As VSSOLNBUILDUPDATEFLAGS
[FlagsAttribute]
public enum VSSOLNBUILDUPDATEFLAGS
[FlagsAttribute]
public enum class VSSOLNBUILDUPDATEFLAGS
[<FlagsAttribute>]
type VSSOLNBUILDUPDATEFLAGS
public enum VSSOLNBUILDUPDATEFLAGS

Members

Member name Description
SBF_SUPPRESS_NONE Perform no supression.
SBF_SUPPRESS_OUTOFDATE_QUERY Takes the default answer for out-of-date query.
SBF_SUPPRESS_SAVEBEFOREBUILD_QUERY Takes the default answer for save-before-build query.
SBF_SUPPRESS_CONTDEPLOYONERROR_QUERY Takes the default answer for continue-deploy query.
SBF_SUPPRESS_CONTLAUNCHONERROR_QUERY Takes the default answer for continue launch query.
SBF_SUPPRESS_MASK
SBF_OPERATION_NONE No build operations are to be performed.
SBF_OPERATION_BUILD Performs a build (may be ORed with other flags).
SBF_OPERATION_DEPLOY Deploys the solution (may be ORed with other flags).
SBF_OPERATION_LAUNCH Launches the application without the debugger involved.
SBF_OPERATION_LAUNCHDEBUG Launches the application for debugging.
SBF_OPERATION_CLEAN Removes built objects.
SBF_OPERATION_SELECTION Operates on the current shell selection context.
SBF_OPERATION_FORCE_UPDATE Forces a rebuild on the project, even if it is not out of date.
SBF_OPERATION_MASK

Remarks

For SBF_OPERATION_BUILD, projects recompile results even if they are not out of date. For SBF_OPERATION_DEPLOY, the content is recopied to the deployment target even if it is known not to be out of date at the target.

The SBF_SUPRESSION_ elements are UI suppression flags; if they are set, the default answer is automatically chosen. The rest of the elements are flags used to control which operations the solution update manager performs as part of its operation.

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace