Compartir a través de


SolutionContext.ShouldDeploy (Propiedad)

Establece o devuelve si el proyecto actual se implementa cuando se selecciona la configuración de soluciones asociada a este objeto SolutionContext.

Espacio de nombres:  EnvDTE
Ensamblado:  EnvDTE (en EnvDTE.dll)

Sintaxis

'Declaración
Property ShouldDeploy As Boolean
    Get
    Set
bool ShouldDeploy { get; set; }
property bool ShouldDeploy {
    bool get ();
    void set (bool value);
}
abstract ShouldDeploy : bool with get, set
function get ShouldDeploy () : boolean
function set ShouldDeploy (value : boolean)

Valor de propiedad

Tipo: System.Boolean
Un valor Boolean que indica false si el proyecto no se puede compilar.

Comentarios

Si el proyecto no se puede compilar, ShouldDeploy es false y establecerlo en true no surte ningún efecto.

Seguridad de .NET Framework

Vea también

Referencia

SolutionContext Interfaz

EnvDTE (Espacio de nombres)