Create VSTO Add-ins for Office by using Visual Studio

Important

VSTO relies on the .NET Framework. COM add-ins can also be written with the .NET Framework. Office Add-ins cannot be created with .NET Core and .NET 5+, the latest versions of .NET. This is because .NET Core/.NET 5+ cannot work together with .NET Framework in the same process and may lead to add-in load failures. You can continue to use .NET Framework to write VSTO and COM add-ins for Office. Microsoft will not be updating VSTO or the COM add-in platform to use .NET Core or .NET 5+. You can take advantage of .NET Core and .NET 5+, including ASP.NET Core, to create the server side of Office Web Add-ins.

You can use the Microsoft Office developer tools in Visual Studio to create .NET Framework applications that extend Office. These applications are also named Office solutions.

The Office developer tools provide features that help you create Office solutions to suit a variety of business needs. The tools include project templates to help you create Office solutions by using Visual Basic or Visual C#, and visual designers that help you create custom user interfaces for your Office solutions.

Note

Interested in developing solutions that extend the Office experience across multiple platforms? Check out the new Office Add-ins model. Office Add-ins have a small footprint compared to VSTO Add-ins and solutions, and you can build them by using almost any web programming technology, such as HTML5, JavaScript, CSS3, and XML.

For the latest information about Office development, see the Microsoft Office developer center.

In this section

Provides links to information about how to configure a development computer to create Office solutions, how to begin creating Office solutions, and what is new for Office development in Visual Studio.

Provides links to information about the upgrade process for projects created by using earlier versions of Visual Studio.

Provides links to information about how Office solutions work, including information about document-level customizations and VSTO Add-ins.

Provides information about how to create an Office project and configure your project in Visual Studio.

Provides information about how to use managed code with Office solutions, including how to customize the Office user interface, work with data, and troubleshoot problems.

Provides information about how to automate Excel, create Excel solutions, and understand globalization issues specific to Excel.

Provides information about how to create form templates and VSTO Add-ins for InfoPath.

Provides information about how to automate Outlook and create Outlook VSTO Add-ins and form regions.

Provides information about how to automate PowerPoint and create PowerPoint VSTO Add-ins.

Provides information about how to automate Microsoft Office project and create project VSTO Add-ins.

Provides information about how to automate Visio and create Visio VSTO Add-ins.

Provides information about how to automate Word and create Word solutions.

Provides information about the differences between building Office projects and other types of projects in Visual Studio.

Provides information about the differences between debugging Office projects and other types of projects in Visual Studio.

Provides information about how security features work in Office solutions.

Provides information about how to make Office solutions available to your users, and the major issues to consider when you choose a deployment method.

Provides links to sample applications and topics that give step-by-step instructions for performing common tasks.

Provides links to detailed information about Office primary interop assemblies, manifests, user interface elements, and error messages.

Provides links to information about API namespaces and types that are used in Office projects that target the .NET Framework 4. For API reference documentation about the namespaces and types that are used in Office projects that target the .NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation: 2007 system managed reference.

Contains links to information about COM interfaces that you can use to perform actions such as load and unload managed VSTO Add-ins in Office applications.