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 visual studio project where I am trying to GAC the dll that is created. My problem is that when I click on the project and look at the "Assembly Deployment Target" property it is disabled (greyed out) and has no value selected. From what I understand this is what happens if you have a sandboxed solution, but this particular project is not a sandboxed solution.

Why would this happen? Is there a way that I can specify that I want it deployed to the GAC?

share|improve this question
    
Are you developing on the machine where SP2010 is installed? –  Amit Kumawat Nov 19 '11 at 2:24
add comment

1 Answer

up vote 6 down vote accepted

"Assembly Deployment Target" property is disabled at a sandboxed solution, you're correct. But it's also disabled when developing a farm solution when the property "Include Assembly in Package" in the same properties window is set to False.

Can you verify this setting?

share|improve this answer
    
Can't believe I missed that, thanks! –  Abe Miessler Nov 21 '11 at 16:13
    
Hello, when developing a farm solution what is the purpose of setting the property "Include Assembly in Package" to True? Where does the wsp get deployed to content db or filesystem? –  variable Feb 6 at 6:36
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.