将Visual Studio 2010中编写的应用程序降级为visual studio 2008 [英] downgrade application written in visual studio 2010 to visual studio 2008

查看:127
本文介绍了将Visual Studio 2010中编写的应用程序降级为visual studio 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能将Visual Studio 2010中编写的应用程序降级为visual studio 2008?



如果是,请告诉我如何?





谢谢:)

解决方案

是的。



在VS 2010中打开应用程序。然后将目标框架更改为3.5并重新编译应用程序。如果您使用过任何4.0结构,请重写3.5语法中的代码。有很多可用的信息此处 [ ^ ]



解决所有编译错误后,您可以在VS 2008中打开该应用程序。


转换框架首先打开项目,然后右键单击解决方案资源管理器

- >选择属性页 - >单击构建 - >然后在目标框架中更改框架,然后单击应用

is it possible to downgrade application written in visual studio 2010 to visual studio 2008?

if yes please tell me how?


thanks :)

解决方案

Yes.

Open the application in VS 2010. Then change the target framework to 3.5 and recompile the application. Rewrite the code in 3.5 syntax if you have used any 4.0 constructs.A lot of information available here[^]

When all the compile errors are resolved, you can open the application in VS 2008.


Converting the Framework First open your project then right click the solution Explorer
->Choose Property Pages->click Build->then Change the framework in Target Framework then click Apply


这篇关于将Visual Studio 2010中编写的应用程序降级为visual studio 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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