如何在3.5 .net框架中运行4.0 .net框架应用程序 [英] How can i run 4.0 .net framework application in 3.5 .net framework
本文介绍了如何在3.5 .net框架中运行4.0 .net框架应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在visual studio 2010中创建了一个WINDOWS FORM APPLICATION,即.Net Framework 4.0
现在我想将它安装在具有.Net Framework 3.5的One System中
我的应用程序要求安装NET FRAMEWORK 4.0
i want安装我的应用程序而没有安装.Net Framework 4.0
:(
I created One WINDOWS FORM APPLICATION in visual studio 2010 i.e, .Net Framework 4.0
Now i want to install it in One System which has .Net Framework 3.5
My Application is Asking to Install NET FRAMEWORK 4.0
i want to install my application with out installing .Net Framework 4.0
:(
推荐答案
您可以尝试更改目标框架:
http://msdn.microsoft.com/en-us/library/vstudio/bb398202.aspx [ ^ ]
然而,在更改目标框架后,也许你是''如果您使用特定于.NET4的类/功能,将会出现一些构建错误。
这里列出了.NET 4中所有更改的内容:
http://msdn.microsoft.com/en-US/library/dd409230 %28VS.100%29.aspx [ ^ ]
希望这会有所帮助。
Hi,
You can try to change the Target Framework:
http://msdn.microsoft.com/en-us/library/vstudio/bb398202.aspx[^]
However, after changing the Target Framework, perhaps you''ll get some build errors, if you use .NET4-specific classes/features.
Here''s a list of all things which are changed in .NET 4:
http://msdn.microsoft.com/en-US/library/dd409230%28VS.100%29.aspx[^]
Hope this helps.
从技术上讲,你不能。框架版本不能向前兼容。
因此你必须要么 b
- (按照建议)将你的应用程序定位到
.NET框架3.5
。
Technically speaking you cannot. Framework releases cannot be forward compatible.
Hence you have to either
- (as suggested) target your application to
.NET Framework 3.5
.
- 在目标机器上安装所需的
.NET Framework 4.0
。
这篇关于如何在3.5 .net框架中运行4.0 .net框架应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文