How does an assembly's 'Copy Local' default value get set?
When you add an assembly reference to your project, you may notice that sometimes the "Copy Local" flag is set to false, and sometimes it's set to true. Visual Studio sets the default value to false if the referenced assembly is found in the GAC (global assembly cache), otherwise it sets the default value to true.
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 09/17/05
Comment or report problem with topic
