Bagikan melalui


How to: View Script Documents

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not apply Topic does not apply Topic does not apply Topic applies

Standard

Topic applies Topic applies Topic applies Topic applies

Pro and Team

Topic applies Topic applies Topic applies Topic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

In earlier versions of Visual Studio, client-side script files generated from server-side script appeared in the Script Explorer window. The Script Explorer window was often hidden, so that the availability of client-side script was not always obvious.

In Visual Studio 2008, client-side script files generated from server-side script appear in Solution Explorer, which is visible by default. The Script Explorer window has been eliminated.

Client-side script files are visible only when you are in debug mode or break mode. They appear in the Script Debugger node.

Server-side script files are always visible. They appear the <Website Pathname> node. The name of the node resembles this example: c:\...\Website2\

To view a server-side script document

  1. In Solution Explorer, open the <Website Pathname> node.

  2. Double-click the script file that you want to view.

    The server-side script file opens in a source window.

To view a client-side script document

  1. In Solution Explorer, open the Script Debugger node.

  2. Double-click the script file that you want to view.

    The client-side script file opens in a source window.

See Also

Concepts

Viewing Data in the Debugger