Notices


Reply
 
LinkBack Thread Tools Display Modes

Old 08-21-2007, 09:14 AM   #1 (permalink)
Likes to customize RE!

DavidZ's Avatar

Join Date: Jul 2006
Location: London, UK
Posts: 335
Rep Power: 3 DavidZ is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- API/VBA

Deploying .NET plugins

Just when I thought I had got the hang of deploying .NET plugins they seem to stop working.

I wanted to compile a list of steps and useful information that needs to be done in order to get a .NET plugin to work in RE.

Does it make any difference to RE if you use a release or a debug configuration when building the dll?

Firstly I know that you have to register the plugin with regasm and not with regsvr32. Also this only works for me when I use the /codebase switch - Anyone have any explanation as to why?

However you should be able to use VS2005 setup project in order to have it register the plugin for you. It doesn't seem to do this. There are a few options when registering the primary output in the setup project either vsdrpCOM, vsdrpCOMSelfReg or vsdrpCOMRelativePath. Does anyone know the difference between these and which ones work?

Even when I do use the setup project the files end up in the plugins directory (I am using a custom folder to do this in the setup project), the entry does not appear in under plugins.
Instead I copy over all the output file including the pdb and xml files (pdb is a debug database) and when I register it using regasm it works (some of the time).

Does anyone have a definitive explanation of which file are required and how to always ensure they appear in RE?

Thanks

David
__________________
David Zeidman
Zeidman Development
http://www.zeidman.info

Check out my RE API blog
http://www.re-decoded.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 08-21-2007, 09:29 AM   #2 (permalink)
Crusty Old Curmudgeon

Join Date: May 2006
Location: Orlando, Fl
Posts: 114
Rep Power: 3 Vinojd1 is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- API/VBA

Deploying .NET plugins

Boy – I can’t wait to hear the answer!! I’ve gone thru the same thing with a custom plug-in we had developed for us…even the developer couldn’t figure this one out. And if David Z is ASKING the question, who-ee –you KNOW it’s a zinger J

I have nothing to contribute other than to reiterate that it only worked for us if I used regasm and then only from within the C:\Windows\Microsoft.net\Framework\v1.1.4322 using the following syntax:
“C:\Program Files\Blackbaud\The Raisers Edge 7\Plugins\[procedure].dll” /tlb:{procdure].tlb /codebase

Jim DiGiovanni
Application Manager, CSM
Wycliffe Bible Translators
407-852-3756
407-459-6756 (cell)
407-852-3601 (fax)
(Email Address Removed)
Life is a series of short equations
I have enough money to last me the rest of my life, unless I buy something.
- Jackie Mason


Quote:
From: DavidZ
Sent: Tuesday, August 21, 2007 10:15 AM

Subject: [API & VBA-t-2402] Deploying .NET plugins


Just when I thought I had got the hang of deploying .NET plugins they seem to stop working.

I wanted to compile a list of steps and useful information that needs to be done in order to get a .NET plugin to work in RE.

Does it make any difference to RE if you use a release or a debug configuration when building the dll?

Firstly I know that you have to register the plugin with regasm and not with regsvr32. Also this only works for me when I use the /codebase switch - Anyone have any explanation as to why?

However you should be able to use VS2005 setup project in order to have it register the plugin for you. It doesn't seem to do this. There are a few options when registering the primary output in the setup project either vsdrpCOM, vsdrpCOMSelfReg or vsdrpCOMRelativePath. Does anyone know the difference between these and which ones work?

Even when I do use the setup project the files end up in the plugins directory (I am using a custom folder to do this in the setup project), the entry does not appear in under plugins.
Instead I copy over all the output file including the pdb and xml files (pdb is a debug database) and when I register it using regasm it works (some of the time).

Does anyone have a definitive explanation of which file are required and how to always ensure they appear in RE?

Thanks

David

__________________
Jim DiGiovanni
Applications Manager, CSM
Wycliffe Bible Translators
jim_digiovanni@wycliffe.org
Life is a series of short equations
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 08-21-2007, 10:54 AM   #3 (permalink)
Likes to customize RE!

DavidZ's Avatar

Join Date: Jul 2006
Location: London, UK
Posts: 335
Rep Power: 3 DavidZ is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- API/VBA

And of course, as if by magic, I just ran the install and it registered the plugins and they show up perfectly in Raiser's Edge.

I really don't like the randomness of it all...

David
__________________
David Zeidman
Zeidman Development
http://www.zeidman.info

Check out my RE API blog
http://www.re-decoded.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 08-22-2007, 11:16 AM   #4 (permalink)
Likes to customize RE!

DavidZ's Avatar

Join Date: Jul 2006
Location: London, UK
Posts: 335
Rep Power: 3 DavidZ is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- API/VBA

I have recently discovered one cause of the problems mentioned above.

If I have several plugins and if any of them have the same root namespace (in the project settings) then they will not appear in the Raiser's Edge. As soon as I have changed the name they appear. I was using the organization name but then changed that to the name of the application and they appeared. I am not sure if you can do [org name].[app name] (in order to make it consistent).

David
__________________
David Zeidman
Zeidman Development
http://www.zeidman.info

Check out my RE API blog
http://www.re-decoded.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
api, deploy, dotnet, plugin


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Cheap Gas - Loans - United Specialties - Loans
All times are GMT -6. The time now is 10:23 AM.

Miscellaneous


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel Team 2008 :: jvbPlugin R1012.364.1

SEO by vBSEO 3.2.0 Copyright 2008 Blackbaud User SocietyAd Management by RedTyger
Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64