[英].NET Framework 4 Client Profile vs .NET Framework 3.5 Client Profile
Currently I am targeting .NET Framework 3.5 Client profile. 目前我的目标是.NET Framework 3.5客户端配置文件。
Under certain conditions (when .NET 1.x or 2.x is installed) the client profile is not installed and instead full version of .NET Framework 3.5. 在某些情况下(安装.NET 1.x或2.x时),未安装客户端配置文件,而是安装.NET Framework 3.5的完整版本。 is installed.
已安装。
This limitation has been removed from .NET 4.0 profile - therefore its a nice improvement that significantly reduces download size on certain PCs. 此限制已从.NET 4.0配置文件中删除 - 因此它是一项很好的改进,可显着减少某些PC上的下载大小。
However, if I target application to .NET 4.0 then all the clients will have to download new framework. 但是,如果我将应用程序定位到.NET 4.0,那么所有客户端都必须下载新的框架。
I think ideal scenario would be to target .NET 3.5 profile but point installer to .NET 4.0 client profile. 我认为理想的情况是针对.NET 3.5配置文件,但将安装程序指向.NET 4.0客户端配置文件。 This way PCs with 3.5 installed (65% from our tests at the moment) would be fine and the rest would install .NET 4.0.
这样安装3.5的PC(目前我们测试的65%)就可以了,剩下的就是安装.NET 4.0。
Is my thinking correct or its not feasible? 我的想法是正确的还是不可行的? Will .NET 3.5 profile application run with only .NET 4.0 profile installed?
.NET 3.5配置文件应用程序是否只安装了.NET 4.0配置文件?
Thank you 谢谢
Yes, see this question . 是的,看到这个问题 。 But you should of course make sure your app runs well on the .NET 4.0 runtime, since .NET 2.0, 3.0 and 3.5 all use the 2.0 runtime, while .NET 4.0 has a new runtime.
但是你当然应该确保你的应用程序在.NET 4.0运行时运行良好,因为.NET 2.0,3.0和3.5都使用2.0运行时,而.NET 4.0有一个新的运行时。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.