upgraded vs2002 to 2005 version problem

upgraded vs2002 to 2005 version problem

Postby thekman » Thu 16 Oct 2008 01:03

We converted a vb.net solution from VS 2002 to VS 2005 while using MYDirect 4.70.30 for vs 1.0,1.1

After the conversion every worked.

I have now installed the vs 2.0 version of mydirect.net, but the project keeps using the 1.1 version. How do I upgrade this project to use the 2.0 version of mydirect.net?

p.s.
I still have other projects that are in vs 2002 using the 1.0,1.1 mydirect.
thekman
 
Posts: 5
Joined: Thu 16 Oct 2008 00:51

Postby Shalex » Thu 16 Oct 2008 08:37

You need to change manually the references of your project, just remove old references and add the new ones (for .NET2).
Shalex
Devart Team
 
Posts: 7377
Joined: Thu 14 Aug 2008 12:44

selecting .net2 but properties shows other

Postby thekman » Thu 16 Oct 2008 20:08

I've been trying to change references.
Removed
CoreLab.Data.dll
CoreLab.MySql.dll
(Saved and re-opended solution)

Add references using browse to the following folder
C:\Program Files\CoreLab\MyDirect.NET2
Selected
CoreLab.Data.dll
CoreLab.MySql.dll

When I look at the properties of those references I get the following.
Desciption = MyDirect .NET
Path = C:\Program Files\CoreLab\MyDirect.NET\CoreLab.MySql.dll
Runtime Version = v1.1.4322
Version = 4.70.30.0

If I create a new project and add reference to CoreLab.Data.dll, I get
runtime version v2.0.50727
version = 4.70.23.0
thekman
 
Posts: 5
Joined: Thu 16 Oct 2008 00:51

solved it

Postby thekman » Thu 16 Oct 2008 20:50

I renamed the folder
C:\Program Files\CoreLab\MyDirect.NET
to something else temporarily.

Then removed references and selected references to the new dll's.
v2.0 showed up in properties.

Renamed folder back and all is still good.


Thanks.
thekman
 
Posts: 5
Joined: Thu 16 Oct 2008 00:51


Return to dotConnect for MySQL