Question

I am using Visual studio 2005. Why is this line not supported?

using System.Linq;     

Error:

Error 1 Validation (XHTML 1.0 Transitional): Attribute values must be enclosed in quotation marks.

Error 2 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

Was it helpful?

Solution

LINQ is not supported until .NET Framework v3.5, and visual studio 2005 supports .net v2.0 at max.

There are some workaround to use LINQ with .NET 2.0 but you will still need Visual Studio 2008 minimum!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top