Creating an Office Add-In

To start creating your own Office add-in, create a new project in Visual Studio by selecting any of the Office add-in project types. Figure 22.4 shows the basic project structure created with a Word add-in project. We have a single code-file that establishes the startup entry point for the add-in and provides us with the namespaces we need to access the Word automation object model.

Image

FIGURE 22.4 A Microsoft Word 2013 add-in project.

There isn’t anything terribly compelling about the developer experience so far. But Visual Studio does provide a set of visual designers you can use to craft your Office solution just as ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.