How to: View Script Documents
This topic applies to:
Edition |
Visual Basic |
C# |
F# |
C++ |
Web Developer |
---|---|---|---|---|---|
Express |
|||||
Pro, Premium, and Ultimate |
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 2010, 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
In Solution Explorer, open the <Website Pathname> node.
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
In Solution Explorer, open the Script Documents node.
Double-click the script file that you want to view.
The client-side script file opens in a source window.