I am using Visual Studio 2012 and IE11. When I press F5, it opens the web page but it does not attach to the IE automatically. I have to do it every time manually through Debug > Attach to Process > choose iexplore.exe. Is there any way to do this automatically? This problem happens when I update the IE from IE9 to IE11. I tried resetting the VS environment but it also does not work.
Asked
Active
Viewed 2,834 times
1
-
try this - http://stackoverflow.com/questions/1951124/visual-studio-auto-attach-to-a-process-when-the-process-is-spawned – Kavindu Dodanduwa Dec 18 '14 at 02:34
-
also try this solution - http://www.codeproject.com/Articles/261638/Automate-the-attach-to-process – Kavindu Dodanduwa Dec 18 '14 at 02:37
-
are you using the Metro IE 11 or the desktop IE 11? – Mark Dec 18 '14 at 02:38
-
@KCdod Thanks for the answer, but I don't want to do this programatically. Previously when I used IE9, it attached automatically. Only then when I update to IE11 this stops working. So I would love to see a solution without changing the code. – rcs Dec 18 '14 at 02:45
-
Have you tried reinstalling visual studio? – Mark Dec 18 '14 at 02:46
-
@Mark I did not try reinstalling the VS, but it will be great if I can just change some setting in the VS rather than reinstalling. – rcs Dec 18 '14 at 02:48
-
try - http://stackoverflow.com/questions/15480436/how-to-fix-visual-studio-2012-after-installing-ie10-on-windows-7 – Kavindu Dodanduwa Dec 18 '14 at 02:51
-
@KCdod It also does not work. Strangely, it also gives me "there are no more files" when starting the project. – rcs Dec 18 '14 at 03:04
-
is your VS 2012 updated :) ? – Kavindu Dodanduwa Dec 18 '14 at 03:10
-
@KCdod I am using VS 2012 Update 4. It should be the latest update already. – rcs Dec 18 '14 at 03:48
-
seems you will need some workaround rather than a solution :) – Kavindu Dodanduwa Dec 18 '14 at 04:02
-
Haha anything that can make this work, I'll be happy :) (Except reinstalling everything :p) – rcs Dec 18 '14 at 05:07