SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a C# dll that is a wrapped C++ dll which has multiple dependencies. I have tested the new C# dll in a project and the dll works properly. I now need to use the C# dll in a custom web part. I have added the C# reference to the project but how do I add all the C++ dlls?

share|improve this question
up vote 1 down vote accepted

You can specify additional assemblies to add to a WSP by going to the Package in Visual Studio (double click) and navigating to the Advanced Tab. There you'll see an Additional Assemblies tool - just specify the path to the DLL to include and make sure you deploy it to the GAC if necessary.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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