Linq not available

Class library usage, coding and language questions.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Linq not available

Post by omayer » Thu Apr 12, 2012 6:22 pm

I can't find the LINQ under system or system.data,
my compiling target framework .net framework 4.0
linq.jpg
linq.jpg (31.97 KiB) Viewed 1527 times
Tipu

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Linq not available

Post by Ciege » Thu Apr 12, 2012 6:45 pm

Did you make a reference to System.Xml.Linq?
You can also add a using System.Linq.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: Linq not available

Post by omayer » Fri Apr 13, 2012 2:37 pm

Ciege, I don't see LINQ option listed under System.
also linq not listed under System.XML
Tipu

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Linq not available

Post by Support Team » Fri Apr 13, 2012 3:03 pm

Have you added a reference to the System.Core assembly?

If you want to use LINQ, please see this guide from Microsoft ... or consider consulting Google, there's plenty of documentation out there :-)
http://msdn.microsoft.com/en-us/library/bb546156.aspx

Regards,
Alex
Ranorex Team
.
Image

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: Linq not available

Post by omayer » Fri Apr 13, 2012 4:23 pm

Thank you Alex, How to add a reference to the System.Core assembly?
Tipu

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: Linq not available

Post by omayer » Fri Apr 13, 2012 5:24 pm

Thank you Alex, i am able to use the linq by following the documentation http://msdn.microsoft.com/en-us/library/bb546156.aspx
Tipu