ISharePointProject.AutoRetract Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.