SharePoint server 2013 solutions,some solutions are deployed in
Globally and some solutions are deployed in web application.
why this happening
This depends upon the scope of a feature, that you would define in
what is the difference between globally
deployed and web application deployed?
Copying a part of an answer from here:
- If in the solution manifest, the assembly's attribute DeployementTarget="GlobalAssemblyCache", SharePoint will not ask you
for the web application.
- If the attribute DeployementTarget="WebApplication", SharePoint will ask you for the web application to which the solution will be
- If the attribute DeployementTarget="GlobalAssemblyCache" and SafeControls are needed for the assembly, especially for web parts,
SharePoint will ask for the we application, because the safe controls
are added to the web.config of the web application.
The end result would be, if a solution is deployed to webApplication1 and webApplication2, but not on webApplication3, you can use the features only on site collections under webApplication1 and webApplication2, but not for those under webApplication3. Instead, a globally deployed solution, will be available under all site collections - webApplication1, 2, and 3.