Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
why does asp net web site reference assembly from gac when adding local referen using -'asp.net,visual-studio,clr'
why does asp net web site reference assembly from gac when adding local referen ¬†using -'asp.net,visual-studio,clr'
When you use ASP.NET web site (instead of web application model) and add reference to an assembly from local folder, Visual Studio, it seems, understands that this local assembly is also in GAC and so does NOT copy this assembly to bin folder (as it does with non-GAC assemblies), but simply adds new record in web.config file.
Why such a behaviour? Is it possible to force copy to bin folder (I need this since .dll is not on target environment)? I can add assembly to bin folder as file and it will work, but in this case bin folder contents will be in source control, which is not good.
Sep 7, 2015
to add a comment.
Related Hot Questions
Government Jobs Opening