Groups | Blog | Home
all groups > visual studio .net ide > january 2004 >

visual studio .net ide : Upgrading AddIns from VS 2002 to VS 2003


Lucas
1/30/2004 9:29:59 AM
Hi,
I have an Add-In developed with VS 2002. We would like to make it work with
VS 2003 also.
Is there any way to do that? Must we have not make to different versions? Is
it necessary to migrate it?

Thanks a lot

Lucas

Dmitriy Lapshin [C# / .NET MVP]
1/30/2004 3:16:09 PM
Hi Lucas,

The automation models for VS 2002 and VS 2003 are almost similar. So, the
probability is very high you won't need to migrate the add-in code at all.
But what you WILL need to update is the setup project. VS 2003 uses a
different registry key (HKLM\Microsoft\Software\VisualStudio\71 if my memory
serves me well) so you will need to install the keys and values describing
the add-in into that key.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

[quoted text, click to view]
Pablo Difrieri
1/30/2004 5:10:22 PM
There is a way to change de setup program or i have to change the registry
key where i deploy the plug-in? There is a way to made it automaticaly?

[quoted text, click to view]

v-garych NO[at]SPAM online.microsoft.com
1/31/2004 4:55:30 AM
Hi Pablo,

Thanks for posting in the community.

Currently I am looking for somebody who could help you on it. We will reply
here with more information as soon as possible.
If you have any more concerns on it, please feel free to post here.


Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
v-felwa NO[at]SPAM online.microsoft.com
2/2/2004 7:33:24 AM
Hi,

Thanks for posting.

I think what we need to do here is just to change the "7.0" registry key in
the Setup Project to "7.1":

1. Open the solution with VS.Net 2003 and select to convert the solution
when prompted.

2. Right click the Setup Project and select "View" | "Registry".

3. Expand the node "Registry on Target Machine" | "HKEY_LOCAL_MACHINE" (or
"HKEY_CURRENT_USER") | "Software" | "Microsoft" | "VisualStudio" | "7.0".

4. Right click the node "7.0" and rename it to "7.1".

5. Repeat the steps with the "VSA" node if necessary.

This works for a simple bare-bone Add-in. Please give it a try and see
whether this works for your Add-in or not. I hope this helps.

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Pablo Difrieri
2/3/2004 10:17:15 AM
It works, Thanks a lot!!! I only have to change the registry key and it
worked properly.

[quoted text, click to view]

v-felwa NO[at]SPAM online.microsoft.com
2/4/2004 7:47:23 AM
Hello Pablo,

Thanks for your feedback. I am glad to hear our suggestions work. If you
have any concerns or new findings regarding this issue, please feel free to
post here.

Have a nice day!

Regards,

Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
AddThis Social Bookmark Button