Addin doesn't appears in VS2005....

Announcements and discussion for PInvoke

Moderators: Luke Jefferson, Robert

Addin doesn't appears in VS2005....

Postby sfranchi » Mon Oct 01, 2007 12:47 pm

... I've both VS2003 and 2005 in my machine, and the PInvoke menu does appear (and works fine) in VS2003, but doesn't show at all in VS2005, any idea?

Thanks,

Sandro.
sfranchi
 
Posts: 10
Joined: Mon Oct 01, 2007 12:43 pm

Postby Robert » Mon Oct 01, 2007 1:40 pm

Hi,

I wonder if you could go to Tools -> Add-in Manager... in VS2005, and see if "pInvoke.net Add-In" is listed. If it is, check that the startup box is checked, and also the checkbox next to the name is (to load it immediately).

Hope that helps,
Robert
Robert Chipperfield
Red Gate
Robert
 
Posts: 410
Joined: Mon Oct 30, 2006 11:15 am
Location: Cambridge, UK

Postby sfranchi » Mon Oct 01, 2007 4:22 pm

Thanks Robert for your answer, but the addin is not listed there (as it is in VS2003)
sfranchi
 
Posts: 10
Joined: Mon Oct 01, 2007 12:43 pm

Postby Robert » Mon Oct 01, 2007 4:26 pm

OK, the next thing to try is to verify the registry settings are correct. If you look in registry editor, you should be able to navigate to the key:

Code: Select all
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\AutomationOptions\\LookInFolders


There should be a value with the name of the folder you installed the pinvoke.net add-in to, along with a few other ones. If you could check this matches up with the location it's actually installed to, that'd be good.

Thanks,
Robert
Robert Chipperfield
Red Gate
Robert
 
Posts: 410
Joined: Mon Oct 30, 2006 11:15 am
Location: Cambridge, UK

Postby sfranchi » Mon Oct 01, 2007 6:47 pm

A key is pointing to "F:\\Archivos de programa\\Red Gate\\PInvoke.net" and there add-in actually is there... so it should load.

Of course, I've uninstalled and installed it back without any luck...
sfranchi
 
Posts: 10
Joined: Mon Oct 01, 2007 12:43 pm

Postby Robert » Mon Oct 01, 2007 8:04 pm

OK, that looks good then. What OS are you running, and is it a 64-bit version, I wonder?

Are you running VS2005 as an administrative user? If not, that might be worth a try. Similarly check that the user has access to the installation folder.

Robert
Robert Chipperfield
Red Gate
Robert
 
Posts: 410
Joined: Mon Oct 30, 2006 11:15 am
Location: Cambridge, UK

Postby sfranchi » Tue Oct 02, 2007 12:04 pm

OS is XP Pro, spanish version, SP2 installed, only one user has administrative rights (myself).

Have in mind that the PInvoke add-in runs perfectly in VS2003, and others add-ins like VisualSVN are working fine in my VS2005.

Thanks.
sfranchi
 
Posts: 10
Joined: Mon Oct 01, 2007 12:43 pm

Postby Robert » Tue Oct 02, 2007 1:34 pm

Hi,

OK, next thing then: check that in that path, there's a file called "PInvokeDotNetAddIn.AddIn", and also "PInvokeDotNetAddIn2005.dll". The DLL should be version 1.1.0.7.

Also, what edition of VS are you running? Do you have the .NET 3.0 or 3.5 add-ons installed?

Thanks,
Robert
Robert Chipperfield
Red Gate
Robert
 
Posts: 410
Joined: Mon Oct 30, 2006 11:15 am
Location: Cambridge, UK

Postby sfranchi » Tue Oct 02, 2007 6:07 pm

Version of the DLL is correct, .NET 3.0 is installed, but not a 3.5 add-ons (never heard about it before).

VS2005 is the Professional version, with SP1 installed.
sfranchi
 
Posts: 10
Joined: Mon Oct 01, 2007 12:43 pm

Postby sfranchi » Thu Oct 04, 2007 8:10 pm

I'm the only one with this problem?

Thanks,
sfranchi
 
Posts: 10
Joined: Mon Oct 01, 2007 12:43 pm

Postby Robert » Thu Oct 04, 2007 10:05 pm

Hi,

Sorry for not replying earlier. I'm at a bit of a loss as to what to suggest. I don't think this is something we've seen before with these symptoms.

One thing you could try is copying both the .AddIn file and the DLL into your My Documents\\Visual Studio 2005\\Addins directory, and then see if it works.

Thanks,
Robert
Robert Chipperfield
Red Gate
Robert
 
Posts: 410
Joined: Mon Oct 30, 2006 11:15 am
Location: Cambridge, UK

Postby sfranchi » Thu Oct 04, 2007 10:19 pm

Already done, I did that before to ask here... anyway, thanks a lot for your answers and your time.

Sandro.
sfranchi
 
Posts: 10
Joined: Mon Oct 01, 2007 12:43 pm

Postby Robert » Fri Oct 05, 2007 8:28 am

Nicely thought ahead :-).

I'm really sorry we didn't get this working - and more strangely that it did in VS 2003, though the way VS treats add-ins in the two environments is quite significantly different.

If I think of anything else, I'll post it up here.

Thanks for your patience,
Robert
Robert Chipperfield
Red Gate
Robert
 
Posts: 410
Joined: Mon Oct 30, 2006 11:15 am
Location: Cambridge, UK

Postby sfranchi » Sun Oct 07, 2007 11:21 pm

No problem at all Robert, and thanks for your time :)

Sandro.
sfranchi
 
Posts: 10
Joined: Mon Oct 01, 2007 12:43 pm

Postby sfranchi » Wed Oct 10, 2007 10:37 am

Hi Robert!

I did nothing about this, but the P-Invoke.net menu is now there in VS2005... and the add-in is listed in the add-ins window.

I don't know what to say, the only thing I've updated were a couple of received updates from windows update... no one related to VS at all...

Anyway, is working now, and I hope it remains there :)

Best regards,

Sandro.
sfranchi
 
Posts: 10
Joined: Mon Oct 01, 2007 12:43 pm

Next

Return to PInvoke.Net

Who is online

Users browsing this forum: No registered users and 0 guests