Page 1 of 1

upgraded vs2002 to 2005 version problem

Posted: Thu 16 Oct 2008 01:03
by thekman
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.

Posted: Thu 16 Oct 2008 08:37
by Shalex
You need to change manually the references of your project, just remove old references and add the new ones (for .NET2).

selecting .net2 but properties shows other

Posted: Thu 16 Oct 2008 20:08
by thekman
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

solved it

Posted: Thu 16 Oct 2008 20:50
by thekman
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.