Need guidance on testing Word add-in project in Visual Studio

s w 100 Reputation points
2024-05-10T16:10:31.76+00:00

I'm currently working on my first Word task pane add-in project following the instructions provided in the Microsoft documentation

https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/word-quickstart?tabs=visualstudio

I'm using Visual Studio as my development tool.

I encountered an issue while trying to connect my Word application to my Visual Studio project. Since I don't have the Word application downloaded, I'm testing it online. However, I'm unable to see the 'Show Taskpane' button in my online Word application.

One thing I noticed is that the documentation mentions "The plugin will be hosted locally on IIS". I added a new application pool in IIS using the new web project I created and set the SourceLocation to my Home.html. Is there something else I need to set?

Another thing I am concerned about is that I want to test my add-in in Office 365 which has a different domain than my local IIS. I don't want to publish my add-in before testing it. Is that possible to do so?

Thanks for the helping!

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
995 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,972 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.