Debug Page, Project Designer

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Use the Debug page of the Project Designer to set properties for debugging behavior, such as start action and start options.

To access the Debug Page

  1. Create a new Silverlight Application project in Visual Basic or Visual C#. For more information, see How to: Create a New Silverlight Project.

  2. In Solution Explorer, select the Silverlight project.

  3. On the Project menu, click project nameProperties.

  4. When the Project Designer appears, click the Debug tab.

Start Action

Start Action indicates the item to start when the Silverlight application is debugged: a dynamically generated Web page, or a specified Web page.

  • Dynamically generate a test page
    Select this option if you want to generate a test page as part of the build process into the output folder. The project will use this generated test page to host your application when you debug the project, or when you run the project without debugging.

  • Specific page
    Select this option to specify a page that you have added to your project to host your application. This page will be used when you debug the project, or when you run the project without debugging.

  • Out-of-browser application
    Select this option to specify the Silverlight application that you want to run outside the browser. For more information see Out-of-Browser Support topic.

    NoteNote:

    This option is enabled if you select the Enable running application out of the browser check box in the Silverlight page of the Project Designer.