Page 1 of 1

.NET Application to reference local dll's

Posted: Mon 28 Mar 2016 10:05
by objecto
Hi all,

I have noticed that .NET applications referencing Devart dll's are not using the local dll's but always defaulting to GAC. This happens with Click Once deployment.

How can I force them to use the local dll's?

Thanks

Re: .NET Application to reference local dll's

Posted: Mon 28 Mar 2016 14:06
by Pinturiccio
Devart assemblies are usual .NET Framework assemblies, and they are processed in the same way as the standard Framework ones.

Devart assemblies are strong-named (signed). And if assemblies in the GAC and in your application folder have the same version number, the assemblies from the GAC are always loaded. For more information, please refer to https://social.msdn.microsoft.com/Forum ... 4f5518a6a/

If assembly versions in the GAC and in your application folder are different, you can use bindingRedirect in order to specify which assembly versions to load and use in your application. For more information, please refer to http://stackoverflow.com/questions/267693/