Walkthrough : Debugging an Office Add-In Project


Recently, I have worked for a Word AddIn project, but I cannot debug or run it because the required version of Microsoft Office was not installed. Visual Studio show for me this error « you cannot debug or run this project because the required version of the microsoft office application is not installed »

To resolve this issue, you should do these actions :

1.       Go to the project properties in Visual Studio

2.       Go to the 'Debug' tab

3.       Click the 'Start external program' radio button

4.       Enter the path to the Office Application e.g. « C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE »

5.       Run the project.