how to fix Visual Studio 2012 after installing IE1

2019-01-24 03:40发布

问题:

I recently upgraded my machine to Internet Explorer 10. I use Visual Studio 2012 (VS2012) under Windows 7. Since I upgraded to IE10, VS2012 does not automatically attach to the iexplorer.exe process anymore. And I have 2 entries in the drop down.

Any idea what I should do?

(Yes, I should be upgrading to Win8 and a clean install in the coming months...)

回答1:

I am not sure if you already found a solution on this but if you select any other browser, in your case select Google Chrome. Then, run your solution, then stop. Change back to Internet Explorer and voila... the other IE entry will be removed and fixes the debugger attach issue. Try it, it worked for me.



回答2:

I solved it by opening the "Browse with..."-Dialog and removing one of the two "Internet Explorer" entries.



回答3:

I had two entries of IE on my VS 2012

  1. Remove one entry of Internet Explorer from 'Browse With' option.
  2. Now browse with any other browser - say Google Chrome
  3. Stop. Now second entry of IE is removed from debug options.
  4. Now browse with Internet Explorer.

It works.