Alex Rivera | Logout

How to prevent a .NET application from loading/referencing an assembly from the GAC?

Asked 2009-10-22T12:28:28.313
43

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?

Edit
Report

1 Answer

-3

To successfully deploy your .NET Framework application, you must understand how the common language runtime locates and binds to the assemblies that make up your application. By default, the runtime attempts to bind with the exact version of an assembly that the application was built with. This default behavior can be overridden by configuration file settings.

You can view binding information in the log file using the Assembly Binding Log Viewer (Fuslogvw.exe), which is included in the Windows Software Development Kit (SDK).

answered 2010-04-29T19:37:28.793

Your Answer