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
How to deal with 2 versions of dotConnect
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.
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.
Re: How to deal with 2 versions of dotConnect
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
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