xscape
xscape

Reputation: 3376

LINQ on .Net 1.1

Can we run a win forms with LINQ in our app using .net 1.1 and Microsoft IDE 2003?

If yes, how?

***I cannot upgrade it because it is a school facility.

Thank you

Upvotes: 0

Views: 564

Answers (5)

Praneeth
Praneeth

Reputation: 2547

Try upgrading the framework to 3.0 then you can use LINQ

Upvotes: 0

JAiro
JAiro

Reputation: 6009

I think it is not posible. Linq is available since .net framework 3.0. you should migrate you app.

Upvotes: 0

Michael Stum
Michael Stum

Reputation: 181124

No. LINQ is .net 3.5 and even though there are "hacks" to run it on 2.0, I have never seen it work on 1.1 (hard for me to imagine how it would work anyway without Generics)

Upvotes: 4

Daniel A. White
Daniel A. White

Reputation: 191058

No. Linq came with Visual Studio 2008.

Upvotes: 0

Reed Copsey
Reed Copsey

Reputation: 564931

No. LINQ is built on top of compiler and framework features that were not available in .NET 1.1. This is unlikely to ever work.

There are options to get LINQ to (at least somewhat) work on machines with only .NET 2 installed, such as LINQBridge. However, those still require a C# 3.0 compiler. Without the C# language features in C# 3.0, it would be impossible to write LINQ operations in a form at all similar to "LINQ". They also require generics at a minimum.

Upvotes: 2

Related Questions