Freigeben über


IBuildSettings.ApplicationRequiresElevation Property

Definition

A value of true indicates that the application should require elevation to install on Windows Vista.

public:
 property bool ApplicationRequiresElevation { bool get(); void set(bool value); };
public bool ApplicationRequiresElevation { get; set; }
member this.ApplicationRequiresElevation : bool with get, set
Public Property ApplicationRequiresElevation As Boolean

Property Value

true if the installed component runs with elevated permissions; otherwise false.

Remarks

This property can be set in the project file, but it is not exposed in the MSBuild schema.

A component runs with elevated permissions when it writes a registry key or is being installed to the global assembly cache. For example, if you are installing assemblies to the global assembly cache, you have to set this property to true.

Applies to

See also