在计算机上使用.NET 4.0 - 可以在一个测试的应用程序将运行在.NET 3.5? [英] On a computer with .net 4.0 - Can one test that an application will run on .net 3.5?

查看:169
本文介绍了在计算机上使用.NET 4.0 - 可以在一个测试的应用程序将运行在.NET 3.5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从港口.NET 4.0的应用程序到.NET 3.5。然而,只是改变它在Visual Studio中是远远不够的,很多仍引用到.NET 4.0。 (请参阅<一个href="http://stackoverflow.com/questions/3709295/file-or-assembly-cant-be-found-after-changing-projects-net-target-framework">here例如。)

I'm trying to port an application from .net 4.0 to .net 3.5. However, just changing it in Visual Studio is not enough, many references remain to .net 4.0. (See here for example.)

所以 - 有没有办法用我的电脑,以测试该应用程序将运行在计算机上用3.5而已,即使装好了我的电脑已经.NET 4

So - Is there a way to use my computer in order to test that this application will run on a computer with 3.5 only, even though my computer has .net 4 installed as well?

推荐答案

都能跟得上。

首先,这是不提供的MS。特点是向后兼容的。如果他们将是向前兼容,那么你就没有这个问题问,我们不会有进展。 = D

First of all this is not provided by MS. Features are backward-compatible. If they would be forward-compatible, then you wouldn't have this question asked and we wouldn't have progress. =D

没有落后的项目转换为好。

There is no backward project converter as well.

其次,对于一个很好的测试,你真的要清洁的环境,不区分有提及未安装的组件。

Secondly, for a good test, you really want clean environment, without case to have references to assemblies which are not installed.

您唯一的选择是要么其它PC或虚拟机。安装和使用的Windows XP 一个是pretty的曙光容易。直行吧。

Your only bet is either other PC or VM. Installing and using Windows XP one is pretty dawn easy. Go straight for it.

这篇关于在计算机上使用.NET 4.0 - 可以在一个测试的应用程序将运行在.NET 3.5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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