Reputation: 3376
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
Reputation: 6009
I think it is not posible. Linq is available since .net framework 3.0. you should migrate you app.
Upvotes: 0
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
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