使用 NetOffice 在 Outlook 中创建任务窗格

Create TaskPane in Outlook with NetOffice

首先,我是开发加载项的初学者,我没有找到使用 NetOffice 的好文档。

我已经使用 NetOffice Developer Toolbox 创建了一个自动化插件项目。我想创建一个 TaskPane。当我启动项目时,它抛出以下异常:

A project with an Output Type of Class Library cannot be started directly.

In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project.

有人可以告诉我启动 TaskPane 需要什么。 This is my Solution

感谢任何帮助。

要调试 NetOffice 插件项目,您必须在 Visual Studio 中更改项目的调试属性 - 将 启动外部程序 设置为指向已安装的 MS Outlook EXE 文件。

如果加载项已正确注册,您可以调试任务窗格。

更多信息: