简体   繁体   中英

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. When there is Visual Studio installed in user's computer it is ok. But when there is not installed Visual Studio , then my AddIn doesn't work. I don't want to install FULL Visual Studio. I thought to install "Visual Studio 2010 Tools for Office Runtime" would help, but it didn't. 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. The end result is an .msi file with everything the users would need to run your Addin.

Creating a InstallShield project from VS2013

As the other comments have mentioned, some dependency is missing from your user's PCs.

You just need to work out what is missing (and no, it's not a full installation of Visual Studio !)

The problem was that I had added Visual Basic component (LineShape) to my FormRegion. And my project is written in C#. So this was making some conflict. I removed that VB component , and it is solved.

Thanks you all for your help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM