使用.NET Framework 3.5的功能:在.NET框架2.0 [英] Using .Net framework 3.5 features in .Net framework 2.0

查看:112
本文介绍了使用.NET Framework 3.5的功能:在.NET框架2.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能将一些.NET Framework 3.5的的DLL文件,并使用它在.net Framework 2.0的?

Is it possible to convert some of the dlls of .Net framework 3.5 and use it in .Net framework 2.0?

我真的需要.NET 2.0中的管理命名管道的命名空间: - (

I really need the managed named pipes namespace in .Net 2.0 :-(

感谢

推荐答案

您可以使用C#3.0编译器功能.NET 2.0中有一些技巧 - 但你不会是能够使用框架的dll /类型/不以2.0存在的方法。 我不要建议试图简单地部署任何3.5 dll文件,而无需在客户端有.NET 3.5安装。我的期望是,你必须在计算机上安装.NET 3.5,或者让没有你想要的框架功能。

You can use the C# 3.0 compiler features in .NET 2.0 with a few tricks - but you aren't going to be able to use framework dlls / types / methods that don't exist in 2.0. I don't recommend trying to simply deploy any 3.5 dlls without having the client have .NET 3.5 installed. My expectation is that you'll have to install .NET 3.5 on the machine, or make do without the framework feature you want.

这篇关于使用.NET Framework 3.5的功能:在.NET框架2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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