简体   繁体   English

没有Visual Studio,Outlook加载项将无法工作

[英]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.

相关问题 Outlook Visual Studio内置加载项位置? - Outlook Visual Studio Built Add-in location? Outlook c# VSTO 加载项 - 版本号不会从 1.0.0.0 更改 - Visual Studio 2015 - Outlook c# VSTO Add-in - Version number won't change from 1.0.0.0 - Visual Studio 2015 Visual Studio 2012设计Outlook 2003加载项 - Visual Studio 2012 design an Outlook 2003 add-in 在哪里可以找到Visual Studio的“ Outlook 2016加载项”? - Where can I find “Outlook 2016 Add-in” for Visual Studio? 在Visual Studio 2012 Professional中创建Outlook 2007/2003加载项 - Create Outlook 2007/2003 add-in in Visual Studio 2012 Professional 使用Visual Studio为Office Outlook加载项创建MSI - Create MSI for Office Outlook Add-In with visual studio 如何在 Visual Studio Outlook 加载项中触发事件 - How to Trigger an event in a Visual Studio Outlook Add-in 如何在没有可视化设计器的情况下更改 Outlook 加载项的 RibbonType - How to change RibbonType without Visual Designer for an Outlook add-in 外接程序未在Outlook外接程序列表部分中列出 - Add-in doesn't listed in Outlook add-list section Outlook 2013/2016加载项:Outlook.MailItem.Copy()方法不适用于活动的嵌入式响应项目 - Outlook 2013/2016 Add-In: Outlook.MailItem.Copy()-method doesn't work on a active inline response item
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM