Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to modify the default browser for VS2010, VS2008, etc.

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you how to modify the default browsers of VS2010, VS2008 and other projects. I hope you will get something after reading this article. Let's discuss it together.

The "browse with" menu item no longer exists on the right-click .aspx page in Visual Studio 2010 (RC). So how do you modify the default browser you use when debugging?

By default, VS uses the operating system's default browser, but I prefer to use the IE browser when debugging ASP.NET programs.

The .aspx view in the MVC project does not have a "Browse With" menu item because it is prohibited from browsing directly. (add a webform view called "Default.aspx" under the root of the site, and right-click it to see the "Browse With" option.) This method is really not good, sometimes it can and sometimes it can't, it just makes people crazy.

In this way, there will be no need to worry about OK.

Modify vs2005,vs2008 debug default browser

The default debug browser has become Sogou's browser, and any control elements I add to the vs design page can't be seen in the browser when debugging. And the background code page in the cs file does not play any role in the display of the page, even a lable text can not be changed. Feeling very strange, I thought there was something wrong with my system, and I tossed about for several hours. Later, I thought that I could only use IE when debugging vs (after all, Microsoft). Sure enough, I copied the address of the debugging page to the address bar of IE, and everything was fine.

First, open our project file with vs, click any aspx file, right-click, and find the "browsing method" in the pop-up menu, as shown in the figure:

Then click "Browse method" to bring up the dialog box as shown in the figure:

After reading this article, I believe you have a certain understanding of "how to modify the default browser for VS2010, VS2008 and other projects". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report