Visual Studio Development Bookmark and Share   
 index > Visual Studio Extensibility > Deploying a Visual Studio 2005 Add In
 

Deploying a Visual Studio 2005 Add In

I've written an Add-In for Visual Studio 2005, but I can't deploy it.

1. I have copied the .AddIn file and the .DLL for the AddIn to the \My Documents\Visual Studio 2005\Addins folder.
2. I have added a Setup project to my solution (following the directions athttp://blogs.msdn.com/jim_glass/archive/2005/08/18/453218.aspx).

In both cases, when I start up Studio after installing the AddIn I get the following error.

"The AddIn 'ReviewIt' failed to load or caused an exception.
Error Message: Unspecified Error
Error Number: 80004005"

I'm at a loss as to how to proceed. Any help would be appreciated. Thank you.
VB6/VB.NET Developer
DWRoelands  Monday, November 03, 2008 7:02 PM
See:

HOWTO: Troubleshooting Visual Studio and Office add-ins
http://www.mztools.com/resources_vsnet_addins.aspx

INFO: Default .AddIn file locations for Visual Studio add-ins
(same link)

HOWTO: Create a setup for a Visual Studio 2005 / 2008 add-in using Inno Setup
(same link)

If your add-in is recognized by the Add-In Manager, following the first article you should determine if the problem happens due to a registration problem, or due to actual code inside your Connect class. Start by removing most code of your Connect class (commenting it) and putting just MessageBoxes. If a minimal add-in with almost no code still fails to load, then chances are that there is a registration problem. A file / registry monitor tool should allow you to trace what is happening when VS tries to load the add-in.

Post again when you find the answer to help others.

MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com
Carlos Quintero - MVP  Tuesday, November 04, 2008 8:48 AM
Please provide a reproducible sample project and the detailed steps to reproduce this issue.

Thanks.

Return to the source, learn the way!
FengChen  Tuesday, November 04, 2008 1:22 AM
See:

HOWTO: Troubleshooting Visual Studio and Office add-ins
http://www.mztools.com/resources_vsnet_addins.aspx

INFO: Default .AddIn file locations for Visual Studio add-ins
(same link)

HOWTO: Create a setup for a Visual Studio 2005 / 2008 add-in using Inno Setup
(same link)

If your add-in is recognized by the Add-In Manager, following the first article you should determine if the problem happens due to a registration problem, or due to actual code inside your Connect class. Start by removing most code of your Connect class (commenting it) and putting just MessageBoxes. If a minimal add-in with almost no code still fails to load, then chances are that there is a registration problem. A file / registry monitor tool should allow you to trace what is happening when VS tries to load the add-in.

Post again when you find the answer to help others.

MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com
Carlos Quintero - MVP  Tuesday, November 04, 2008 8:48 AM

You can use google to search for other answers

Custom Search

More Threads

• Installing Microsoft Sheridan 3D Controls for Vb 6 in windows Vista
• vs2008 IsDerivedFrom solution.Opened
• Customization of VS - XML Headers and Using within Namespace
• Creating a custom editor/designer without VsPackage ?
• Dsl and Dataset Questions
• Error when building MyTest SDK example
• Can't get Statement completion to work
• ItemRenamed event not fired
• MsoControlType, where is the office.dll
• Com Add-in creating custom events for keyboard Shortcuts