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 developed a webpart that is supporting different languages so I had to put resources.dll file in web application's bin directory to make my webpart work properly. Now I got option of putting that dll in GAC or 12 hive, but not sure which one is counted as best approach as I am pretty sure putting it in web application's bin directory isn't really best thing to do as then I might end up having duplicate resources for each web application.

share|improve this question
up vote 1 down vote accepted

See there are several things to consider - if your web-part is designed for all (maybe almost) web applications in the server farm, deploy it in GAC. But if you know that the web-part is developed for one particular application why bother putting it into GAC? rather put it in bin. You also have the option of embedded resource, though very uncommon but that's one option too.

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.