Share via


WebSiteProperties3.StartWebServerOnDebug Property

 

Gets or sets a value that indicates whether this Web site project should start the ASP.NET Development Server when the user clicks Debug if this Web site is not the start-up project in the solution.

Namespace:   VsWebSite90
Assembly:  VsWebSite.Interop90 (in VsWebSite.Interop90.dll)

Syntax

bool StartWebServerOnDebug { get; set; }
property bool StartWebServerOnDebug {
    bool get();
    void set(bool value);
}
abstract StartWebServerOnDebug : bool with get, set
Property StartWebServerOnDebug As Boolean

Property Value

Type: System.Boolean

true if this project will launch the ASP.NET Development Server when the user clicks Debug; otherwise, false.

Remarks

The default value of this property is true.

In solutions that contain multiple projects, clicking Debug causes all projects to start their development servers. If you want to debug only one Web-site project, you can set StartWebServerOnDebug to false on the other projects in the solution.

See Also

WebSiteProperties3 Interface
VsWebSite90 Namespace

Return to top