我试图在客户端计算机上安装我的Outlook Addin.
不幸的是,加载项永远不会被"启用"它始终显示在"已禁用"加载项部分中.
是否有关于如何创建正确的安装应用程序并安装Outlook插件的简单分步指南?
编辑:
好的,我已经回到基础,但我仍然无法正确安装它.
我使用VS2010项目向导创建一个新的Outlook Addin.
它生成文件等,然后我改变我的代码,如下所示:
namespace OutlookAddIn1
{
public partial class ThisAddIn
{
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
MessageBox.Show("Worked");
}
private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
{
}
#region VSTO generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InternalStartup()
{
this.Startup += new System.EventHandler(ThisAddIn_Startup);
this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
}
#endregion
}
Run Code Online (Sandbox Code Playgroud)
如果我安装这个,我收到相同的错误消息:
Not Loaded. …Run Code Online (Sandbox Code Playgroud)