.NET 3.5 是媒体中心插件的合理先决条件吗?
我们有一个开源媒体中心插件。 目前其下载大小仅为一兆字节。
如果我将插件更改为需要 .NET 3.5,用户可能必须下载 197 megs 只是为了能够使用我的插件。
我正处于一个大型重构过程中,并且渴望使用 LINQ 的一些功能,这将大大降低我们代码库的复杂性。
.NET 3.5 是我的应用程序的合理先决条件吗? 我的整个用户群已经安装了.NET 3.0。
We have an open source media center plug-in. At the moment its download size is one measly megabyte.
If I change my plug-in to require .NET 3.5, users may have to download 197 megs just to be able to use my plug-in.
I am in the middle of a big refactoring process, and am aching to use some of the functional aspects of LINQ, which would considerably reduce the complexity of our codebase.
Is .NET 3.5 a reasonable pre-requisite for my application? My entire user base already have .NET 3.0 installed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
对于较小的安装程序,.Net 3.5 Sp1 有一个名为“客户资料"。
.NET Framework 客户端配置文件设置仅包含 .NET Framework 中通常用于客户端应用程序方案的那些程序集和文件。 例如:它包括 Windows 窗体、WPF 和 WCF。 它不包括 ASP.NET 以及主要用于服务器场景的库和组件。 我们预计此安装包的大小约为 26MB,并且其下载和安装速度比完整的 .NET Framework 安装包快得多。
For a smaller installer, .Net 3.5 Sp1 has a new feature called "Client Profile".
The .NET Framework Client Profile setup contains just those assemblies and files in the .NET Framework that are typically used for client application scenarios. For example: it includes Windows Forms, WPF, and WCF. It does not include ASP.NET and those libraries and components used primarily for server scenarios. We expect this setup package to be about 26MB in size, and it can be downloaded and installed much quicker than the full .NET Framework setup package.
我认为对于开源项目来说这是可以接受的。 Windows 7(Windows 的下一版本)将附带 .NET 3.5。 并且:XP 和 Vista 用户已经为其他程序安装 3.5 的可能性逐月增加。
PS:我正在使用您的媒体中心插件。 我确信我会进行 3.5 设置。
I think it's acceptable for an open source project. Windows 7, the next version of Windows, will come with .NET 3.5. And: the probability that the XP and Vista users will already have installed 3.5 for other programs increases from month to month.
P.S.: I'm using your Media Center plugin. I am sure I'll do that 3.5 setup.
我不知道微软为什么不大力推动.Net Framework 3.5通过其Windows更新或服务包安装在尽可能多的机器上。
但如果你不希望你的Vista用户下载3.5,你可以在VS2008上定位2.0框架,2.0是Vista内置的。 关于 LINQ,只需找到替代实现即可,尝试 LinqBridge。 其他一切(推断变量、自动 getter setter、集合初始值设定项、属性初始值设定项、lambda 只是编译器魔法,不依赖于 3.5
I don't know why doesn't Microsoft push hard to make .Net framework 3.5 be installed on as many machines as possible through its Windows Update or service pack.
But if you don't want your Vista users to download 3.5, you can target 2.0 framework on VS2008, 2.0 is built-in in Vista. Regarding LINQ, just find an alternative implementation, try LinqBridge. Everything else (inferred variables, automatic getter setter, collection initializers, property initializers, lambda are just compiler magics, not dependent on 3.5
请记住,并非所有用户都需要实际部署 .net 框架。 例如,Windows 7 用户的计算机上已经安装了该软件。
Remember, not all of your users will need to actually deplot the .net framework. For example, Windows 7 users will already have that on thier machine.