473,503 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS 2005 Deployment Issue

I migrated a VS 2003 add-in to VS 2005. The VS 2003 add-in is a COM
interface which must continue to be deployed as a COM server. I have
added the project output to the deployment package and I set the
Register property to vsdrpCOM.

If I look at the VS2005 MSI package generated with a viewer, I find the
the CLSID registry setting aren't in the package. Therefore, after
installation running the server fails.

The same deployment package in VS 2003 has all the necessary CLSID
register settings.

How do I fix this?

Oct 14 '05 #1
1 2340
Hi,
I migrated a VS 2003 add-in to VS 2005. The VS 2003 add-in
is a COM interface which must continue to be deployed as
a COM server. I have added the project output to the deployment
package and I set the Register property to vsdrpCOM.

If I look at the VS2005 MSI package generated with a viewer,
I find the the CLSID registry setting aren't in the package


This is because in VS2005, the Add-in's registration approach is different
from VS2003. In VS2003, you were required to register add-in assemblies
with Windows as COM components by using the Assembly Registration Tool
(regasm.exe) or via the setup package.

But these steps have changed in VS2005. You no longer need to register the
.NET assemblies with Windows by using regasm. Instead, you simply place the
assembly .DLL file into a specific directory (described later in this
topic) along with an XML file that has an .Addin file extension. This XML
file describes the information that Visual Studio requires to display the
add-in in the Add-In Manager.

So in VS2005 the XML registration method is simpler than the COM
registration method. This is the preferred method for using a Visual Studio
.NET 2003 managed add-in with Visual Studio 2005, and the VS2005 IDE will
not generate the VS2003 styled CLSID registry entry in the VS2005 Add-in's
setup package. Please refer to the following MSDN docs for the details:

Add-In Registration
http://msdn2.microsoft.com/en-us/library/19dax6cz

How to: Upgrade Visual Studio .NET 2003 Add-ins to Visual Studio 2005 by
Using XML Registration (Managed)
http://msdn2.microsoft.com/en-us/library/ms165632
Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ˇ§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
2066
by: Kent | last post by:
We have created several Assemblies that we add to the GAC on our web servers. In an ASP.NET app in VS2003, Adding a reference to strong named GAC'd Assembly meant that the web app would use...
8
1908
by: | last post by:
I'm starting up the development server myself and using the "Startup Url" property of the web project. The problem is i cannot debug. The debug symbols are never loaded. I realize they are under...
0
3573
by: Mart | last post by:
Hi, I have just written (my first) VB.net app using MS Visual Basic 2005 Express Edition Beta. It is fairly simple, it reads some configuration data from an XML file then opens a new window...
1
307
by: rjack | last post by:
I migrated a VS 2003 add-in to VS 2005. The VS 2003 add-in is a COM interface which must continue to be deployed as a COM server. I have added the project output to the deployment package and I set...
4
1308
by: Brian | last post by:
Hello, I have a few questions about the 2005 editions of VB.NET and VS as a whole. Is the only stand alone VB.NET the express edition? In looking at the standard VS.NET 2005, it says...
7
3668
by: =?Utf-8?B?bGZjZG0=?= | last post by:
Hi, I'm facing an issue and your help could be very helpful. In few words, I have a app build with VC++ 2005 SP1. I want to deploy it on a target machine, because the CRT dependency described...
1
1556
balabaster
by: balabaster | last post by:
Hi, I'm trying to figure out how to install multiple instances of a Windows Service on a single machine using the deployment Setup Project. We have a Windows Service that's configurable through...
2
4517
by: Michael Kalika | last post by:
Hi, We have developed a VSTO 2005 Excel application and we would like to leverage ClickOnce deployment mechanism for distribution of this application. How can we do that? I was digging in MSDN...
10
6067
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I...
0
7089
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7463
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5581
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5017
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.