Share via


GAC deployment placing the SharePoint DLLs in different path

Question

Wednesday, April 1, 2015 9:47 AM

Hi,

Am deploying a wsp in SharePoint 2013 with the help of update-spsolution command with GAC deployment option. when I navigate to c:\windows\Assembly folder am unable to see the dlls related to the WSP I deployed. When I search for it I found the dll in “C:\Windows\Microsoft.NET\assembly\GAC_MSIL\WSP name}\v4.0_1.0.0.0__3b27dd6af4a6abff”. There is no reference for the dll in GAC(c:\windows\Assembly folder).

As per my knowledge it should go to GAC folder. Is there any design change with GAC deployment ? why it is getting copied in different path ?

Thanks,

All replies (3)

Wednesday, April 1, 2015 10:22 PM ✅Answered

Yes, that is the new correct place for .NET 4.0 and higher assemblies to go to. You'll also see a bunch of SharePoint assemblies there.

Trevor Seward

Follow or contact me at...
  


This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.


Thursday, April 2, 2015 1:40 AM ✅Answered

Nikhil,

From .NET 1.0 through .NET 3.5 the DLL's will be deployed to the C:\Windows\Assembly folder. From v4.0 Framework the dedployment location changed to it's hub which means C:\Windows\Microsoft.Net\ That is the correct location and these dll's are globally available. So, it is same as GAC deployment. 

You can read full information on this here. https://msdn.microsoft.com/en-us/library/yf1d93sz%28v=vs.110%29.aspx


Friday, April 3, 2015 7:09 AM ✅Answered | 1 vote

NIkhil,In share point 2013 the correct place to store the dll is C:\Windows\Microsoft.NET\assembly only.please check the link below that explains the same.

http://expertsharepoint.blogspot.de/2014/07/location-of-gacglobal-assembly-cachein.html

Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/