post icon

Silverlight Tip of the Day #15 – Setting Default Browser in Visual Studio

From within Visual Studio you can specify which browser you want launched when running your Silverlight application. Your default system browser is not affected by this setting.

To make this change right click on the web page that has your Silverlight control (such as default.aspx) and choose “Browse with…” from the context menu. This will bring up the following dialog:

image

From within this dialog select the browser you want to use and click the “Set as Default” button. Note that you can also change the default size of the browser via the drop down combo-box.

Close the dialog when you are good to go.

Thanks,
–Mike

4 Comments

Leave a comment
  1. Rangoric
    06. May, 2010 at 4:40 pm #

    It doesn’t stick for me. After (for example) a reboot, I have to reset it. Any idea why that is?

  2. Snowman
    07. May, 2010 at 8:39 am #

    I just tried and it worked for me.

    Did you click the “Set as Default” button?

    When you say reboot did you mean reboot VS or your OS?

  3. Rangoric
    07. May, 2010 at 10:11 am #

    Yeah it does work great. Just it changes back to my default browser sometimes.

  4. Hattar
    14. Sep, 2010 at 9:31 am #

    I get the same behavior where making this change doesn’t stick.