How to prevent a .NET application from loading/referencing an assembly from the GAC?
Can I configure a .NET application in a way (settings in Visual Studio) that it references a "local" assembly (not in GAC ) instead of an assembly within the GAC, although both assemblies have the same name and the same version? If both assemblies are strong-named (signed), the CLR will always load from the GAC. Here are the steps the runtime uses to resolve assembly references (from How the Runtime Locates Assemblies ): Determines the correct assembly version by examining applicable configuration files, including the application configuration file, publisher policy file, and machine