2
votes

It's clear from these questions

When and when-not to install into the GAC?
What are the advantages and disadvantages of using the GAC?
To GAC, or not to GAC?

that it is not recommended to deploy assemblies to GAC as explained. So, I'm wondering why is the default of SharePoint solutions built using Visual Studio or WSP Builder is to deploy assemblies to GAC?

1
Those questions are very generic; SharePoint imposes its own set of advantages and disadvantages. MSDN SharePoint articles usually favor the GAC.bzlm
@bzlm: from link "To keep the procedure simple, this topic assumes that you want to place the assembly in the bin directory." I again wonder which deployment approach should we consider while solution deployment. We are looking for a standard/recommended approach to follow.Ahmed Atia
read the rest of the article as well, especially the pros and cons of bin and GAC. :) It's not a choice of style; just like Adam says it's a choice of intended use.bzlm

1 Answers

1
votes

Various sharepoint components (besides just the site) won't be able to find it in the bin folder. See this other post for more details.

Does a SharePoint EventReceiver have to be installed in the GAC, and if so do all dependent assemblies have to as well?