This project has moved and is read-only. For the latest updates, please go here.

Get Documentation Sources inside component

Topics: Developer Forum
Sep 24, 2009 at 9:31 AM

Hi all,

I'm trying to develop a component for making documentation for my webservices.

One of the thing that it'll do is to remove every references to a method that is not public and that hasn't the attribute [WebMethod].

So inside of my component's code I need to know the location of the dll (documentation sources), to load the assembly and to know a method's attributes.

I tried a ugly solution :


It's ugly and it doesn't work, i get an NullReferenceException and it's normal because the MainForm is'nt in the same proc.

So, do you have any suggestion, without changing shfb's source code ?

Thank you.



Sep 24, 2009 at 2:09 PM

I just find a good solution , in my template .config file i had this tag :


<component type="WsdlDoc.WsdlComponent" assembly="{@SHFBFolder}WsdlDoc.dll">

DocumentationSources is replaced by values from my shfb project file :)

Thanks anyway