When I open the Asp Net website in Visual Studio 2010, the properties say βTarget Framework 3.5,β however, when I try to use the Linq namespace, the compiler complains about it.
"The type or namespace name" var "could not be found (are you missing the using directive or assembly references?)"
"The Linq namespace type or name does not exist in the System namespace (do you miss the assembly reference?)"
I manually referenced some dll to fix my problem, but still failed.
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Help?: -)
linq assemblies
joeriks
source share