[英]Outlook add-in doesn't work without Visual Studio
I have developed Outlook 2010 addIn project and I have to setup this to users computers. 我已经开发了Outlook 2010 addIn项目,并且必须将其设置为用户计算机。 When there is Visual Studio installed in user's computer it is ok. 当用户计算机中安装了Visual Studio时,就可以了。 But when there is not installed Visual Studio , then my AddIn doesn't work. 但是,如果未安装Visual Studio,则我的插件无效。 I don't want to install FULL Visual Studio. 我不想安装FULL Visual Studio。 I thought to install "Visual Studio 2010 Tools for Office Runtime" would help, but it didn't. 我以为安装“用于Office Runtime的Visual Studio 2010工具”会有所帮助,但没有帮助。 What have I to do for this?. 我要为此做什么?
What you could do is create an InstallShield project for your Outlook Addin (from within Visual Studio) and accept its default options to include the necessary dependencies. 您可以做的是为Outlook Addin创建一个InstallShield项目(在Visual Studio中),并接受其默认选项以包括必要的依赖项。 The end result is an .msi file with everything the users would need to run your Addin. 最终结果是一个.msi文件,其中包含用户运行外接程序所需的所有内容。
Creating a InstallShield project from VS2013 从VS2013创建InstallShield项目
As the other comments have mentioned, some dependency is missing from your user's PCs. 正如其他评论所提到的,您用户的PC中缺少某些依赖项 。
You just need to work out what is missing (and no, it's not a full installation of Visual Studio !) 您只需要弄清缺少的内容(不,这不是Visual Studio的完整安装!)
The problem was that I had added Visual Basic component (LineShape) to my FormRegion. 问题是我已将Visual Basic组件(LineShape)添加到FormRegion。 And my project is written in C#. 我的项目是用C#编写的。 So this was making some conflict. 因此,这产生了一些冲突。 I removed that VB component , and it is solved. 我删除了该VB组件,并已解决。
Thanks you all for your help. 谢谢大家的帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.