MS Visual Studio cannot find Internet Explorer (creating an Outlook web add-in)

I am trying to create my first add-in on Office (for Outlook). Studies show that this should be a web add-in.

I create a new project (an add-on for the Outlook website) and try to run it inside the debugger and get the error message "Unable to start debugging. Cannot find Microsoft Internet Explorer."

I can not find any settings to change the default browser. What am I missing? Widows 10, Visual Studio 2017.


[Refresh] I offer a good bonus (it will be decided by the quality of the answer) for the solution, plus Microsoft says: "The add-in will be hosted locally on IIS", and I don’t even know what this means: - (

Can someone explain how to set up a development environment for the Outlook web add-in? The encoding itself seems simple, but I just can't get started due to the environment settings.

+5
source share
2 answers

First open the run and enter regedit

Then go to the next item:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths

If the iexplorer.exe key is missing, add it and change the REG_SZ value (default) to C:\Program Files\Internet Explorer\iexplore.exe .

Then add a new REG_SZ value and name it Path and set it to C:\Program Files\Internet Explorer

Then restart Visual Studio

Hope this helps!

+1
source

@ Charad's answer gave me the key. I found that while C:\Program Files\Internet Explorer exists, it does not contain iexplore.exe .

So, I went to this page and went on to install Internet Explorer on Windows 10 (it starts "In some cases") and then the instructions there.

This installed Internet Explorer, and I can start it by running iexplore .

Alas, now when I try to debug an Outlook web add-in, Visual Studio freezes, but this is a separate issue.

0
source

Source: https://habr.com/ru/post/1276066/


All Articles