Question LINQ unrecognized in migrated vb project (VB2005>VB2008)

daruma

New member
Joined
Nov 24, 2008
Messages
3
Programming Experience
Beginner
I have a project created with VB2005.

now migrated to VB2008, and i have already set the compiler setting to 3.5 framework. and added the dataset extension reference.

but it still doesnt recognize it.

errortb6.jpg

it detected as object type, thus not having all properties like the one created in vb2008 as below

correctrb6.jpg



is there any settings i can change to make my migrated project to work with LINQ just the same way as a new VB2008 project ?


Thank you.
 
Do you have the System.Xml.Linq reference and imports? Anyway, create new empty project and have a look at the References page in project properties, compare the references and imports there to those you have in your imported .Net 2.0 project.
 
Do you have the System.Xml.Linq reference and imports? Anyway, create new empty project and have a look at the References page in project properties, compare the references and imports there to those you have in your imported .Net 2.0 project.

It still behave the same after I import system.xml.linq.

and i have all the reference which available in a new vb2008 project too.
and the version is same too.

my migrated project reference



a new vb2008 project's reference.
 
I toggle the option setting. now It's working already.


It's working now. no matter what setting I toggle. :confused:



Thanks for help. :)
 
Back
Top