When selecting CTRL-F5 to build and run your web application in Visual Web Developer, it normally starts on the current page that is selected. This if fine if you want to only view that page in the web browser. (You can still view other pages as they are part of the build; one just has to set the browser to any other pages in the site.)
If the site is to startup at one particular page (e.g. the default or main page), select the Solution Explorer pane in Visual Web Developer. If it is not visible, select View on the top menu and select Solution Explorer (CTRL-ALT-L). A list of all the pages will be shown. Right-click on the top where your site name and path is listed. Select properties page and the select Start Options. Select Specific page and enter the page or ... to browse. Select OK.
When the site is rebuilt, it will start on the page that was selected.
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment