.NET Application to reference local dll's

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
objecto
Posts: 1
Joined: Mon 28 Mar 2016 08:56

.NET Application to reference local dll's

Post by 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

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: .NET Application to reference local dll's

Post by 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/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/

Post Reply