Denny.NET

I can haz ASP.NET goodness?

About the author

Denny Ferrassoli
Developer at Casting Networks. MCP / .NET
E-mail me Send mail
Add to Technorati Favorites

Recent posts

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Making Visual Studio and Safari play nice

You know how to set a default browser for debugging: (http://stevenharman.net/blog/archive/2007/08/02/setting-a-default-browser-for-visual-studio.aspx). This works great for most browsers, however if you're in an environment where you have to test with Safari as well... you're out of luck. Apparently Safari doesn't like the way Visual Studio opens the browser window and instead shows the default page. So how do you get Safari to play nice with Visual Studio?

#1. Right-click any folder or page in Solution Explorer and select "Browse With..."
#2. Click "Add..."
#3. Browse to your Safari folder (@:\Program Files\Safari\) and select the "Safari.exe"
#4. Under the "Program name:" textbox you'll see the path to Safari in quotes: "@:\Program Files\Safari\Safari.exe" At the end of the string (outside the quotes) add "-url" so it looks like: "@:\Program Files\Safari\Safari.exe" -url
#5. Click "OK"
#6. You'll get a message that states "File name does not exist, is invalid... Do you want to change your entry?" Make sure you select "NO"

 

You can now highlight Safari and browse to whatever page or folder you selected.

Note* Setting Safari as default will not allow you to start debugging. You'll get an error stating Visual Studio was "Unable to start program..."

There's no fix for the debugging that I am aware of.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Categories: ASP.NET | General
Posted by Denny on Monday, August 06, 2007 2:27 PM
Permalink | Comments (1) | Post RSSRSS comment feed

Comments

DotNetKicks.com

Monday, August 06, 2007 2:36 PM

trackback

Trackback from DotNetKicks.com

Making Visual Studio and Safari play nice

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading