我应该支持.NET 2.0? [英] Should I support .NET 2.0?

查看:83
本文介绍了我应该支持.NET 2.0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前工作的一个开源项目,本来我写我的code对.NET 3.5框架。我使用的这个时间点上少量的LINQ,但没有显著。我没有看到任何更高级的功能,为我的项目太多需要(在这个时候)

I am currently working on an open source project, and I had originally written my code against the .NET 3.5 Framework. I am using a small amount of Linq, but nothing significant at this point in time. I do not see much need for any of the more advanced features for my project (at this time)

一个用户已经要求对.NET 2.0的支持,并不会需要太多的努力来使用ExtensionAttribute劈在2008/2010支持扩展方法,并重新定义了几个LINQ的方法,我使用我的整个code(半打不同的方法目前),以支持.NET 2.0。此外,目前在.NET 2.0(在未来???可能发生变化)。

A user has asked for .NET 2.0 support, and it would not require much effort to use the ExtensionAttribute hack in 2008/2010 to support extension methods and re-define the couple of Linq methods I am using throughout my code (half-dozen different methods currently) in order to support .NET 2.0. Also, the assemblies I am dependant on are currently available in .NET 2.0 (may change in the future???).

好奇社会会怎么做?我应该支持.NET 2.0,坚持使用3.5和疏远一些用户?我的直觉告诉我,我应该做出所需要的变化,但我想看看别人都认为?你会在.NET 2.0支持单一code基或以某种方式管理.NET 2.0和3.5版本?

Curious what the community would do? Should I support .NET 2.0, stick with 3.5 and alienate some users? My gut is telling me I should make the changes required, but I wanted to see what everyone else thought? Would you support a single code-base in .NET 2.0 or somehow manage .NET 2.0 and 3.5 versions?

在此先感谢!

推荐答案

如果你想使用LINQ对.NET 2.0,几乎没有力气,下载的 LINQBridge ,所以你不必推倒重来。最好的是,它是开源和免费的。

If you want to use Linq on .NET 2.0 with almost no effort, download LINQBridge, so you do not have to reinvent the wheel. Best of it, it is open source and free.

这篇关于我应该支持.NET 2.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆