Partager via


How to: View Script Documents

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 2012, 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 Documents node.

Server-side script files are always visible. They appear in 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 Documents 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