0

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

xscape
  • 3,318
  • 9
  • 45
  • 86
  • I deleted my answer which suggested NLinq, after failed test to import its libraries into a VS2003 project. I believe you have no choice but to migrate to a higher version of .NET framework. – Maxim Gueivandov Mar 05 '11 at 01:19
  • ...and when their students graduate they'll only be 8 years behind everyone else. – TrueWill Mar 05 '11 at 01:28
  • I bet your school can afford a free (as in "free beer") **[VS 2010 Express edition](http://www.microsoft.com/express/Windows/)** or a free (as in "free gull") **[MonoDevelop](http://monodevelop.com/)** – Maxim Gueivandov Mar 05 '11 at 01:51

5 Answers5

4

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)

Community
  • 1
  • 1
Michael Stum
  • 177,530
  • 117
  • 400
  • 535
2

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.

Reed Copsey
  • 554,122
  • 78
  • 1,158
  • 1,373
0

No. Linq came with Visual Studio 2008.

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445
0

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

JAiro
  • 5,914
  • 2
  • 22
  • 21
0

Try upgrading the framework to 3.0 then you can use LINQ

Praneeth
  • 2,527
  • 5
  • 30
  • 47