Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MS Visual Studio can't find Internet Explorer (developing an Outlook web add-in)

I am trying to develop my first every Office add-in (for Outlook). Research shows that this should be a web-based add-in.

I create a new project (Outlook web add-in), and try to run it int the debugger & get an error "Unable to start debugging. Cannot locate Microsoft Internet Explorer".

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


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

Can someone explain how to set up the development environment for an Outlook web add-in? The coding itself seems straightforward, but I just can't get started because of the environment set-up.

like image 682
Mawg says reinstate Monica Avatar asked Nov 07 '22 09:11

Mawg says reinstate Monica


1 Answers

Firstly open run and type regedit

Then navigate to:

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

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

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

Then restart Visual Studio

I hope this helps!

like image 90
Sharad Khanna Avatar answered Nov 17 '22 13:11

Sharad Khanna