Frage

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?)

War es hilfreich?

Lösung

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!

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top