Page 1 of 1

How to deal with 2 versions of dotConnect

Posted: Sun 18 Mar 2012 21:35
by JORGEMAL
I have 2 web projects in my development PC, both of them work with dotConnect for PostgreSQL 5.50. I would like to upgrade only one of the projects to dotConnect 5.80 and continue using version 5.50 with the other one. Nevertheless, I see that I cannot have both versions of dotConnect installed in my development PC. How can I maintain a project that runs with dotConnect 5.50 and another running with dotConnect 5.80?

Respectfully,
Jorge Maldonado

Posted: Mon 19 Mar 2012 08:35
by Shalex
Development.
We do not recommend to install several versions of dotConnect for PostgreSQL in the development environment because design time will not work correctly in this situation.

Deployment.
You can use several versions of dotConnect for PostgreSQL in your deployment environment. Two approaches:
1) placing the Devart.* assemblies of the corresponding version in the bin folders of your applications;
2) using "Minimal installation" for several versions of dotConnect for PostgreSQL on the same workstation:
a) delete the HKEY_LOCAL_MACHINE\SOFTWARE\Devart\Installed Products\dotConnect\Net2\PostgreSQL key before each new provider installation;
b) be aware that each dotConnect for PostgreSQL installation package places the policy.*.Devart.* files to GAC. If you use several versions of our provider, you should remove these policy files from your GAC.

Posted: Tue 20 Mar 2012 14:22
by JORGEMAL
Thanks for your reply.
I use approach (1) in our production server.
Does dotConnect for PostgreSQL v5.50 have support for PostgreSQL v9.1?

Regards,
Jorge Maldonado

Posted: Wed 21 Mar 2012 10:44
by Shalex
We recommend using the latest 5.80.325 version of dotConnect for PostgreSQL. The 5.50 version should also support PostgreSQL 9.1. If you encounter any difficulties, please contact us.

Re: How to deal with 2 versions of dotConnect

Posted: Mon 12 Aug 2019 22:53
by JORGEMAL
Hi,

This is an old post that talks about working with 2 versions of dotConnect for PostgreSQL.

Is the answer still valid for the development side for recent versions?
"We do not recommend to install several versions of dotConnect for PostgreSQL in the development environment because design time will not work correctly in this situation."

My question is focused on ASP.NET MVC and Core 2.x.

Best regards,
Jorge Maldonado

Re: How to deal with 2 versions of dotConnect

Posted: Tue 13 Aug 2019 18:06
by Shalex
JORGEMAL wrote: Mon 12 Aug 2019 22:53Is the answer still valid for the development side for recent versions?
The answer is still valid.