| Author |
Message |
sfranchi
Joined: 01 Oct 2007 Posts: 10
|
Posted: Mon Oct 01, 2007 12:47 pm Post subject: Addin doesn't appears in VS2005.... |
|
|
... 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. |
|
| Back to top |
|
 |
Robert
Joined: 30 Oct 2006 Posts: 428 Location: Cambridge, UK
|
Posted: Mon Oct 01, 2007 1:40 pm Post subject: |
|
|
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
Developer, Red Gate Software Ltd |
|
| Back to top |
|
 |
sfranchi
Joined: 01 Oct 2007 Posts: 10
|
Posted: Mon Oct 01, 2007 4:22 pm Post subject: |
|
|
| Thanks Robert for your answer, but the addin is not listed there (as it is in VS2003) |
|
| Back to top |
|
 |
Robert
Joined: 30 Oct 2006 Posts: 428 Location: Cambridge, UK
|
Posted: Mon Oct 01, 2007 4:26 pm Post subject: |
|
|
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: |
| 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
Developer, Red Gate Software Ltd |
|
| Back to top |
|
 |
sfranchi
Joined: 01 Oct 2007 Posts: 10
|
Posted: Mon Oct 01, 2007 6:47 pm Post subject: |
|
|
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... |
|
| Back to top |
|
 |
Robert
Joined: 30 Oct 2006 Posts: 428 Location: Cambridge, UK
|
Posted: Mon Oct 01, 2007 8:04 pm Post subject: |
|
|
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
Developer, Red Gate Software Ltd |
|
| Back to top |
|
 |
sfranchi
Joined: 01 Oct 2007 Posts: 10
|
Posted: Tue Oct 02, 2007 12:04 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Robert
Joined: 30 Oct 2006 Posts: 428 Location: Cambridge, UK
|
Posted: Tue Oct 02, 2007 1:34 pm Post subject: |
|
|
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
Developer, Red Gate Software Ltd |
|
| Back to top |
|
 |
sfranchi
Joined: 01 Oct 2007 Posts: 10
|
Posted: Tue Oct 02, 2007 6:07 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
sfranchi
Joined: 01 Oct 2007 Posts: 10
|
Posted: Thu Oct 04, 2007 8:10 pm Post subject: |
|
|
I'm the only one with this problem?
Thanks, |
|
| Back to top |
|
 |
Robert
Joined: 30 Oct 2006 Posts: 428 Location: Cambridge, UK
|
Posted: Thu Oct 04, 2007 10:05 pm Post subject: |
|
|
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
Developer, Red Gate Software Ltd |
|
| Back to top |
|
 |
sfranchi
Joined: 01 Oct 2007 Posts: 10
|
Posted: Thu Oct 04, 2007 10:19 pm Post subject: |
|
|
Already done, I did that before to ask here... anyway, thanks a lot for your answers and your time.
Sandro. |
|
| Back to top |
|
 |
Robert
Joined: 30 Oct 2006 Posts: 428 Location: Cambridge, UK
|
Posted: Fri Oct 05, 2007 8:28 am Post subject: |
|
|
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
Developer, Red Gate Software Ltd |
|
| Back to top |
|
 |
sfranchi
Joined: 01 Oct 2007 Posts: 10
|
Posted: Sun Oct 07, 2007 11:21 pm Post subject: |
|
|
No problem at all Robert, and thanks for your time
Sandro. |
|
| Back to top |
|
 |
sfranchi
Joined: 01 Oct 2007 Posts: 10
|
Posted: Wed Oct 10, 2007 10:37 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|