I have a feature which is referencing a custom library. How can I include this dll in the SharePoint 2010 package so that it is registered in the gac?

  • 1
    You need to be careful. If the Assembly is also deployed by another WSP Solution. If that other solution is ever retracted it will remove the Assembly. If you own the Assembly you can manage this lifecycles yourself. If the Assembly is from a 3rd party any other solution might also choose to deploy the assembly to the GAC. – Steve P Oct 11 '10 at 9:35

Double click "Package" select "Advanced" and "Add" additional assemblies


For detailed information you can refer this link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.