Compartir a través de


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

'Declaration
Property StartWebServerOnDebug As Boolean
bool StartWebServerOnDebug { get; set; }
property bool StartWebServerOnDebug {
    bool get ();
    void set (bool value);
}
abstract StartWebServerOnDebug : bool with get, set
function get StartWebServerOnDebug () : boolean 
function set StartWebServerOnDebug (value : 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.

.NET Framework Security

See Also

Reference

WebSiteProperties3 Interface

VsWebSite90 Namespace