I upgraded my laptop to Windows 10 yesterday. I want to be able to use MS Edge when I debug my code in Visual Studio 2012.
I can't find the browser executable nor do I know if I need any special command line parameters necessary to make it work right.
Any hints or tips on this?
You can add Microsoft Edge to your browser list to run directly into Microsoft Edge browser. As you can see click on browser switcher as in below image and click on "Browse With...".
Now click on Add button
and type "C:\WINDOWS\system32\LaunchWinApp.exe" into Program input, leave Argument as blank and type appropriate friendly name and hit Okay.
I can't help with the location for the Edge executable, nor with command lines execution, but here is a work-around to get you started;
Hit F5 to start your application in your default browser, then copy+paste the respective URL from your default browser into Edge.
The requests that you submit from Edge to your URL are still processed by your development "server" - this is where your debugger will be attached, so your server-side breakpoints will still get triggered.
This will work for IIS and IIS Express.
C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe
is the location of microsoft Edge.
You can get this location from Task manager->Microsoft Edge> Properties
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With