Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.