.NET Application to reference local dll's

.NET Application to reference local dll's

Postby objecto » Mon 28 Mar 2016 10:05

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
objecto
 
Posts: 1
Joined: Mon 28 Mar 2016 08:56

Re: .NET Application to reference local dll's

Postby Pinturiccio » Mon 28 Mar 2016 14:06

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/Forums/en-US/af5086ad-a2b6-4707-b593-0ca4f5518a6a/

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/
Pinturiccio
Devart Team
 
Posts: 1979
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect for PostgreSQL