Yes, I think the GAC on my machine is in c:\Windows\assembly. I see a DLL for System.Web.Extensions 1.061025.0 ... so I take it you are implying that if the DLL is in the GAC, then an explicit reference is not needed in the Project?
Correct, if there is a dependent assembly in the GAC then the app will be able to grab shared assembly from the GAC otherwise it will look in the bin.
JohnK44
However in this GAC directory there are also DLLs for all of the other references I just mentioned, that I have to declare in my Project or else I will get compilation errors. Why is that? Is there a cache somewhere that I can clear that will allow me to
compile successfully without the need for all those explicit System* references?
The reference docs explain the GAC better than I can.
All-Star
43781 Points
18758 Posts
Re: system.web.extensions could not be loaded ... .NET 3.5
Jan 08, 2018 09:09 PM|mgebhard|LINK
Correct, if there is a dependent assembly in the GAC then the app will be able to grab shared assembly from the GAC otherwise it will look in the bin.
The reference docs explain the GAC better than I can.
https://docs.microsoft.com/en-us/dotnet/framework/app-domains/gac