使用.net 3.5 in 4进行制作 [英] Make work with .net 3.5 maked in 4

查看:102
本文介绍了使用.net 3.5 in 4进行制作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序希望与框架3-3.5配合使用,因为当我尝试在另一台计算机上运行请求框架4时
如何使它在3 -3.5框架下运行?
VB中的选项?代码?

i have a app i whant to make it to work with framework 3 - 3.5 ,,, because when i try to run on another computer request framework 4
how i can make to run with 3 -3.5 framework ?
options in vb ? code ?

推荐答案

首先,您是否知道可以在可以安装v.3.5的任何系统上安装.NET Framework v.4.0?而且我看不出没有这样做的任何理由. (这是v.4.5,无法在XP上安装.)

但是,您可以将项目重新定位为从v.2.0开始的任何版本(几乎不认为该版本之前的.NET版本).使用Visual Studio,每个项目只需单击几下.使用选项[Project Properties] =>更改目标框架.标签"Application" => 目标框架".

当然,更改目标后,仅当您不使用v.4的任何新功能时,项目才会编译.但是,如果您使用了较新的VB.NET版本的新功能,则可以编译.

就这样.

—SA
First of all, do you know that one can install .NET Framework v.4.0 on any system where v.3.5 can be installed; and I don''t see any reason for not doing it. (This is v.4.5 which cannot be installed on XP.)

However, you can re-target your projects to any version starting from v.2.0 (the .NET versions prior to this version hardly can be considered seriously). With Visual Studio, this is just a few clicks per project. Change target framework using the option [Project Properties] => The tab "Application" => "Target Framework".

Of course, after you change the target, your project will only compile if you did not use any new features of v.4. However, if you used new features of newer VB.NET version, it''s fine, will compile.

That''s it.

—SA


请阅读以下帖子中给出的答案,
http://social.msdn.microsoft.com/Forums/zh/netfxgeneralprerelease/thread/406a9a61-1904-44f7-bc05-d809d78e7938 [
Please read the answer given in the below post,
http://social.msdn.microsoft.com/Forums/en/netfxgeneralprerelease/thread/406a9a61-1904-44f7-bc05-d809d78e7938[^]


这篇关于使用.net 3.5 in 4进行制作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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