How to provide an additional/extra dll file when deployin a feature in sharepoint?
Posted on 2010-08-18
In MOSS, I have a feature that has a receiver assembly and a receiver class specified. The receiver class extends SPFeatureReceiver. Inside the receiver class, I have implemented my code for the FeatureActived method.
My code inside the FeatureActivated method, is attaching an additional in-house dll to add an event to a given list.
In code it look similar to:
where in-house-assembly contains teh assembly information and the class-inside-the-in-house-assembly is as per the name describes it.
So far, I have been able to make this solution to work on the condition that the additional in-house dll has been previously installed into the GAC (gacutil /if in-house-assembly.dll)
My question: is there any way I can provide the additional in-house dll as a file, module, resource or whatever other way, to the feature, and to make the feature to install this addditional dll int the GAC, before the FeatureActivated method being executed? If so, how can I achieve this?
Thank you in advance,