IBuildSettings.ApplicationRequiresElevation Property

Definition

Gets or sets a value indicating whether a component runs with elevated permissions when it is installed on a target computer.

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