|
|
|
Forum Member
Group: Forum Members
Last Login: 1/19/2004 3:21:00 PM
Posts: 6,
Visits: 1
|
|
I'm just learning C# and think it would be fun to write a simple blog plug-in for my site (it's essentially just going to write to the filesystem).
I implemented the interface with stubs, but even after dropping the DLL in the NewsGator plugins directory and restarting Outlook, it isn't showing up in the plug-in list. NewsGator is loading the DLL because I can't overwrite it while Outlook is running.
Is there some magic I'm missing that's not on the plug-in developer interface page? Do I need to put my class in a special namespace? Do I need to name my implementation of the interface something special? I've even signed and strongly named my assembly, but no dice.
Thanks for any pointers or suggestions.
-- Tommy
-- Tommy
|
|
|
|
|
NewsGator
Group: Administrators
Last Login: 12/10/2007 1:00:57 PM
Posts: 1,083,
Visits: 34
|
|
Hi Tommy,
Did you download the blogExtension.dll interface assembly? You can't copy/paste the interface from the developer page - you need to download the assembly, and add a reference to it when building your plug-in.
The .cs file that's in the download is purely FYI - you shouldn't compile it. Only the DLL is significant.
Other than that, you can be in any namespace, and you can name your class anything you like.
Does that help? If you're still having problems, let me know and I'll post a sample.
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 1/19/2004 3:21:00 PM
Posts: 6,
Visits: 1
|
|
Yes, that helped enormously. For those who are as clueless about this as I am: get the .dll Greg mentions and copy it somewhere (I put it in the root of my Visual Studio project folder). Add a reference to this through the Solution Explorer, and then add a line "using Syndication.Extensibility;" or specify the full namespace when you implement, as in public class MyBlogThing : Syndication.Extensibility.IBlogExtension
Thanks for the clarification, Greg.
-- Tommy
|
|
|
|