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'm here to ask a newbie question...

I'm developing a solution for some web site in Sharepoint 2010. No problem to deploy and test... Then I introduce a new project of a DLL in my Solution... when i push deploy seems all ok, but when i call an instruction that refers to that DLL, IIS resturns a 500 response code...

I suppose it is because the tt2sp.wsp didn't contain the Utils.dll produced by my compiler.

There is a way to tell the compiler to include Utils.dll insed tt2sp.wsp?

Thank you very much!

share|improve this question

2 Answers 2

up vote 4 down vote accepted

I assume that you are missing adding the dll to your solution package and that it should be added to the gac.

If this is the issue, you can resolve it by opening the Package node in your solution and then switching to the advanced tab. Here you can define any additional dll that your solution should deploy. This blog post should guide you through the whole process: link

share|improve this answer

In your VS2010 solution double click Package.package

In the bottom of the editor switch to the Advanced tab:
enter image description here

This will bring you to a screen where you can add external assemblies to the WSP package

share|improve this answer

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.