Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

VS 2005 and LINQ

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Larsen [CPH] - 25 Mar 2008 16:19 GMT
Hi,

Is it possible to add LINQ functionality to Visual Studio 2005 ??

Best Regards
Peter
Nicolas Pavlidis - 27 Mar 2008 20:18 GMT
Hi!

Disclaimer, this isn't a real solve of your Problem:

> Is it possible to add LINQ functionality to Visual Studio 2005 ??

At first LINQ uses some techniques that were introduced in C# 3.0,
mainly extension methods, which were not present in C# 2.0.

Second there were new namespaces added to .NET that make LINQ possible,
System.Linq
System.Data.Linq
System.Xml.Linq

These namespaces are new to .NET since Version 3.5.

So it would be necessary to install .NEt 3.5, and tell VS to use the new
C# - Compiler.

I don't really know if this is possibe.

One thing may be a problem, that is inform VS about the new syntax. If
it'd be a good piece of Software the syntaxhighlighter asks the complier
that is used which keywords are supported.

Maybe these points help you investigating the issue :-)

Best regrads,
Nicolas
Peter Larsen [CPH] - 28 Mar 2008 12:46 GMT
But is LINQ only available through framework 3.5 ??

/Peter

> Hi!
>
[quoted text clipped - 25 lines]
> Best regrads,
> Nicolas
Nicolas Pavlidis - 29 Mar 2008 13:09 GMT
Hi!

Strange, I thought I allready posted a reply..

> But is LINQ only available through framework 3.5 ??

I'm not that guru, but AFAIK yes.

Best regrads,
Nicolas
David Hearn - 31 Mar 2008 12:56 GMT
> Hi,
>
> Is it possible to add LINQ functionality to Visual Studio 2005 ??
>
> Best Regards
> Peter

No.

LINQ requires changes to the language and runtime.  LINQ needs a C#
3.0/VB9 compiler to understand the syntax, and it references the .Net
3.5 runtime.

AFAIK, none of these are possible in Visual Studio 2005.

D
Peter Larsen [CPH] - 31 Mar 2008 14:30 GMT
There was this preview release back in 2006
(http://www.microsoft.com/downloads/details.aspx?familyid=1e902c21-340c-4d13-9f04
-70eb5e3dceea&displaylang=en
)
but it doesn't seems to be a part of VS2005 anymore !!

/Peter

> AFAIK, none of these are possible in Visual Studio 2005.
>
> D

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.