使用 Visual Studio 创建 VSTO 外接程序Create VSTO Add-ins for Office by using Visual Studio

可以使用 Visual Studio 中的 Microsoft Office 开发人员工具来创建可扩展 Office 的 .NET Framework 应用程序。You can use the Microsoft Office developer tools in Visual Studio to create .NET Framework applications that extend Office. 这些应用程序也称为“Office 解决方案” 。These applications are also named Office solutions.

Office 开发人员工具提供了一些功能,可帮助你创建适合于各种业务需求的 Office 解决方案。The Office developer tools provide features that help you create Office solutions to suit a variety of business needs. 这些工具包括项目模板和可视化设计器,前者有助于你通过使用 Visual Basic 或 Visual C# 创建 Office 解决方案,后者有助于你为 Office 解决方案创建自定义用户界面。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.

备注

有兴趣开发跨多个平台扩展 Office 体验的解决方案?Interested in developing solutions that extend the Office experience across multiple platforms? 查看新的 " Office 外接程序" 模型Check out the new Office Add-ins model. 与 VSTO 外接程序和解决方案相比,Office 外接程序的占用空间较小,可以使用几乎任何 web 编程技术(例如 HTML5、JavaScript、CSS3 和 XML)生成它们。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.

有关 Office 开发的最新信息,请参阅 Microsoft Office 开发人员中心For the latest information about Office development, see the Microsoft Office developer center.

本节内容In this section

提供一些链接,这些链接指向有关如何配置开发计算机以创建 Office 解决方案、如何开始创建 Office 解决方案以及 Visual Studio 中的 Office 开发的新增功能的信息。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.

提供一些链接,这些链接指向有关使用 Visual Studio 早期版本创建的项目的升级过程的信息。Provides links to information about the upgrade process for projects created by using earlier versions of Visual Studio.

提供一些链接,这些链接指向有关 Office 解决方案的工作原理的信息,其中包括有关文档级自定义项和 VSTO 外接程序的信息。Provides links to information about how Office solutions work, including information about document-level customizations and VSTO Add-ins.

提供有关如何在 Visual Studio 中创建和配置 Office 项目的信息。Provides information about how to create an Office project and configure your project in Visual Studio.

提供有关如何在 Office 解决方案中使用托管代码的信息,其中包括如何自定义 Office 用户界面、使用数据以及解决问题的信息。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.

提供有关如何实现 Excel 自动化、创建 Excel 解决方案以及了解特定于 Excel 的全球化问题的信息。Provides information about how to automate Excel, create Excel solutions, and understand globalization issues specific to Excel.

提供有关如何创建 InfoPath 的表单模板和 VSTO 外接程序的信息。Provides information about how to create form templates and VSTO Add-ins for InfoPath.

提供有关如何实现 Outlook 自动化以及创建 Outlook VSTO 外接程序和窗体区域的信息。Provides information about how to automate Outlook and create Outlook VSTO Add-ins and form regions.

提供有关如何实现 PowerPoint 自动化和创建 PowerPoint VSTO 外接程序的信息。Provides information about how to automate PowerPoint and create PowerPoint VSTO Add-ins.

提供有关如何自动 Microsoft Office 项目和创建 project VSTO 外接程序的信息。Provides information about how to automate Microsoft Office project and create project VSTO Add-ins.

提供有关如何实现 Visio 自动化和创建 Visio VSTO 外接程序的信息。Provides information about how to automate Visio and create Visio VSTO Add-ins.

提供有关如何实现 Word 自动化和创建 Word 解决方案的信息。Provides information about how to automate Word and create Word solutions.

提供有关在 Visual StudioVisual Studio中生成 Office 项目和其他类型项目之间的差异的信息。Provides information about the differences between building Office projects and other types of projects in Visual StudioVisual Studio.

提供有关在 Visual StudioVisual Studio中调试 Office 项目和其他类型项目之间的差异的信息。Provides information about the differences between debugging Office projects and other types of projects in Visual StudioVisual Studio.

提供有关 Office 解决方案中安全功能的工作原理的信息。Provides information about how security features work in Office solutions.

提供有关如何让用户使用 Office 解决方案,以及在选择部署方法时要考虑的主要问题的信息。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.

提供指向有关 Office 主互操作程序集、清单、用户界面元素和错误消息的详细信息的链接。Provides links to detailed information about Office primary interop assemblies, manifests, user interface elements, and error messages.

提供指向有关在 Office 项目中使用的针对 .NET Framework 4.NET Framework 4的 API 命名空间和类型的链接。Provides links to information about API namespaces and types that are used in Office projects that target the .NET Framework 4.NET Framework 4. 有关面向 .NET Framework 3.5 的 Office 项目中使用的命名空间和类型的 API 参考文档,请参阅 Visual Studio 2008 文档中的以下参考部分: 2007 系统托管参考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.

包含一些链接,这些链接指向有关可以使用 COM 接口执行各种操作(例如加载和卸载 Office 应用程序中托管 VSTO 外接程序)方面的信息。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.