While trying to use linq in a .NET 2.0 winforms project I got:
Namespace or type specified in the Imports 'System.Linq' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases
In both the lines that reference the following namespaces:
System.Linq; System.Xml.Linq;
How could I get these namespaces to work on .NET 2.0 without referencing an external DLL or anything ?