I was looking at the differences in deployment between vs2003 and vs2005
(http://www.knowdotnet.com/articles/addininstallation.html). Does this apply
to all add-ins in vs2005 or just ones written in managed code? I created an
unmanaged C++ add-in in vs2005 and it did not generate the .AddIn xml file,
plus it still adds entries to the registry. However it did not generate a
deployment project (*.vdproj) that vs2003 add-in did. So how do I deploy an
unmanaged C++ add-in in vs2005? Can I just copy the deployment project
generated by the vs2003 and add it to my new vs2005 add-in?
Thanks!
Ed Dore - 07 Jun 2006 06:15 GMT
Hi Kehlar,
For native C++ based addin's you must still register them the same way you
did in VS 2002/2003. Though obviously you need to register it under the
....VisuaStudio\8.0\Addins key. The deployment project we used to create was
removed from the wizard in VS 2005. There were some pretty heinous bugs in
that setup project though (like improperly reininstalling and subsquently
uninstalling certain VS components) and that might have contributed to it's
demise. But the project type is still available, and you can create one
manually.
Support for .addin files is specific to addin's implemented as managed
assemblies. The documentation completely fails to point this out. But if you
build a new C++/CLR addin with the VS 2005 wizard, you'll see that with this
option you get the .addin file as well.
I've already submitted a documentation bug on this.
Sincerely,
Ed Dore [MSFT]
This post is 'AS IS' with no warranties, and confers no rights.