| Author |
Message |
not-bob
Joined: 07 Jun 2007 Posts: 5
|
Posted: Thu Jun 07, 2007 4:05 pm Post subject: No add-in is displayed in add-in manager after installation |
|
|
I just downloaded this new tool and ran the installer, but I don't see the add-in in my Add-in manager. The install appeared to be successful (see event entry below). There are 3 files located at C:\Program Files\Red Gate\PInvoke.net. I restarted Visual Studio (2005). I see the above path in Tools -> Options -> Environment -> Add-in File Paths.
Any thoughts?
| Quote: |
Event Type: Information
Event Source: MsiInstaller
Event Category: None
Event ID: 11707
Date: 6/7/2007
Time: 9:43:07 AM
User: redacted
Computer: redacted
Description:
Product: PInvoke.net Visual Studio Add-In -- Installation operation completed successfully.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 7b 30 35 30 38 41 34 41 {0508A4A
0008: 44 2d 32 35 32 31 2d 34 D-2521-4
0010: 36 30 30 2d 42 36 38 45 600-B68E
0018: 2d 37 45 34 37 32 44 42 -7E472DB
0020: 32 30 38 34 37 7d 20847} |
|
|
| Back to top |
|
 |
Robert
Joined: 30 Oct 2006 Posts: 428 Location: Cambridge, UK
|
Posted: Fri Jun 08, 2007 8:11 am Post subject: |
|
|
Hi,
Sorry this hasn't worked - everything you say below sounds correct, so I'm not quite sure why. A couple of things that are worth checking:
- Does the file "PInvokeDotNetAddIn.AddIn" exist in the PInvoke.net installation directory? Check the extension is ".AddIn" - if VS disables an add-in for some reason, it renames it to ".AddIn_".
- Are the permissions on the PInvoke.net directory adequate for your user to be able to read from it? I'm guessing they should be fine, but it's always worth checking.
Let me know how you get on.
Regards,
Robert _________________ Robert Chipperfield
Developer, Red Gate Software Ltd |
|
| Back to top |
|
 |
not-bob
Joined: 07 Jun 2007 Posts: 5
|
Posted: Fri Jun 08, 2007 1:18 pm Post subject: |
|
|
Robert,
Thanks for the quick reply. Yes, the .addin file you mention exists in the install directory and it hasn't been renamed to append '_'
I set every user current that has access to 'full control' for the folder and verified the files show the same permissions. I restarted Visual Studio and no change...
Let me try to find a different addin and see if I'm able to get it to display. If you can point me to one that would be helpful, but I'll be looking on my own and post the results. |
|
| Back to top |
|
 |
Robert
Joined: 30 Oct 2006 Posts: 428 Location: Cambridge, UK
|
Posted: Fri Jun 08, 2007 1:26 pm Post subject: |
|
|
Hi,
You could try the Visual Studio Automation Samples, available here. I'm not sure how good the installers are for them, but they should at least give you a few small samples to try out.
The other thing to try would be to download FileMon (http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx, and see whether the .AddIn and then also the referenced .DLL are read by Visual Studio.
That should tell you whether the Add-In is being loaded, whether it can't find the file, and so on.
Rob _________________ Robert Chipperfield
Developer, Red Gate Software Ltd |
|
| Back to top |
|
 |
not-bob
Joined: 07 Jun 2007 Posts: 5
|
Posted: Fri Jun 08, 2007 1:32 pm Post subject: |
|
|
| I'll try the samples and see what I get. I did try filemon and I did get the addin files read, but still nothing. I'll post the results when I find out something. Thanks! |
|
| Back to top |
|
 |
not-bob
Joined: 07 Jun 2007 Posts: 5
|
Posted: Fri Jun 08, 2007 2:11 pm Post subject: |
|
|
| I found a different addin (ReSharper) and installed it and it appears in the addin manager list, but the pinvoke one doesn't... (ack) |
|
| Back to top |
|
 |
Robert
Joined: 30 Oct 2006 Posts: 428 Location: Cambridge, UK
|
Posted: Fri Jun 08, 2007 2:13 pm Post subject: |
|
|
If I remember correctly, ReSharper loads their add-in via the registry, rather than a .AddIn file.
Something you could try is editing the .AddIn, and inserting the full path to the .DLL rather than a relative path.
If that doesn't work, I'll try and dig out the registry settings.
Rob _________________ Robert Chipperfield
Developer, Red Gate Software Ltd |
|
| Back to top |
|
 |
not-bob
Joined: 07 Jun 2007 Posts: 5
|
Posted: Fri Jun 08, 2007 2:33 pm Post subject: |
|
|
| Ah... I was just looking for their .addin file and didn't find anything. I wasn't aware of the registry setting. I'll modify the .addin file and see what happens. |
|
| Back to top |
|
 |
|