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 third party dll that I have reference in my sharepoint webpart project. The provider of the dll didn't sign it and will not recompile it for me. So I have to change my project to from a GAC deployed project to a bin deployed project. When I look at under the Package.package and then go to the Manifest. I see

`<Assembly Location="My.dll" DeploymentTarget="GlobalAssemblyCache">`

I cannot figure out how to modify this section. It is not editable.

Any help is greatly appreciated.

Thanks,

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

I'm not a fan for Bin deployment, because it involves CAS policies to be added to the solution... What you can do is to sign it yourself. Check the following link that contains lots of ressources on how to sign an already built assembly. http://social.msdn.microsoft.com/forums/en-US/clr/thread/76ae6443-cbf3-47aa-87b3-0e6ac81cafe6

share|improve this answer
    
Looks like link is broken. Found one here nishantrana.wordpress.com/2010/03/08/… and am testing. –  mikemurf22 Mar 18 '11 at 21:25
    
Should do the trick ! –  Sébastien Levert Mar 19 '11 at 17:08
add comment

You can change this setting in your Visual Studio 2010 SharePoint project. Click on the project in Visual Studio and in the properties window, change the Assembly Deployment Target from GlobalAssemblyCache to WebApplication.

see snapshot sample here http://i51.tinypic.com/2vl8wsp.jpg

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.