Share via


ISharePointProject.AutoRetract Property

Definition

Gets or sets whether the solution is retracted after debugging.

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

Property Value

True if the assembly is automatically retracted after debugging; false otherwise.

Remarks

By default, the SharePoint solution is retracted from SharePoint after debugging completes. However, setting this property to false enables you to prevent the solution from being retracted after debugging.

This property is exposed as the Auto-retract after debugging option in the SharePoint tab of the SharePoint project property page.

Applies to