Groups > Asp .Net > Visual Studio 2005 > Re: Linq Support in VS 2005




Linq Support in VS 2005

Linq Support in VS 2005
Wed, 26 Mar 2008 03:47:16 +000
So I can't really find a definitive answer on this really...

I can get LINQ to compile fine in VS 2005 but the design time support
(intellisense) etc.... Isn't there so it makes writing the stuff really
annoying

From what I can tell the way you get design time support is by installing the
MAY 2006 CTP of LINQ

Which seems kind of ok but not really...

Seems better to just wait until I upgrade to VS 2008 before I start really
integrating LINQ that much...

thoughts?
Post Reply
Re: Linq Support in VS 2005
Wed, 26 Mar 2008 21:34:57 +000
LINQ should be part of .NET framework 3.5.  Do you have that installed?
Post Reply
Re: Linq Support in VS 2005
Thu, 27 Mar 2008 06:12:11 +000
Yea

See I can get it to compile just fine..

Like if I write a LINQ expression in VS 2005 I get no intellisense and parts of
the expression get underlined in red and have messages like "Invalid
syntax" "; expected", etc...

But the project compiles just fine...
Post Reply
Re: Linq Support in VS 2005
Thu, 27 Mar 2008 16:37:06 +000
You cannot use Linq in VS 2005. Linq requires .NET 3.5 while VS 2005 only
supports .NET 2.0 framework. You need to upgrade to VS 2008 to use Linq.
Post Reply
Re: Linq Support in VS 2005
Fri, 13 Jun 2008 00:07:15 +000
Technically .NET 3.5 IS 2.0, just with more extensions. The issue with the CLR
being tied to the .NET framework version  (.NET 1.0 Framework = CLR 1.0, .NET
1.1 Frameword = CLR 1.1) stopped at 2.0. .NET 2.0, 3.0, and 3.5 all use CLR
version 2.0. So yes, you can compile .NET 3.5 assemblies using vs2k5, provided
you have the .net 3.5 sdk installed.
Post Reply
about | contact