如何将VS 2010解决方案转换回2008 [英] How to convert a VS 2010 solution back to 2008

查看:184
本文介绍了如何将VS 2010解决方案转换回2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们开始使用VS 2010,对此感到非常满意,因此我们将项目转换为2010解决方案(仍然是.net 3.5),并在2010年继续开发.但是,最近我们遇到了很多错误,并且希望回到2008年.解决方案文件已更改(新项目和到处都添加了文件),但是所有内容仍在.net 3.5中.我想知道是否有简单的方法可以迁移回2008年.

We started using VS 2010 and were very happy with it, so we converted our project into a 2010 solution (still .net 3.5) and continued our development in 2010. However, we are getting a lot of bugs recently and want to go back to 2008. The solution files have changed (new projects and files added everywhere), but everything is still in .net 3.5. I was wondering if there is an easy way to migrate back to 2008.

推荐答案

根据他们是否在2008年至2010年间保持解决方案文件结构相似,您只需要在2008年创建一个空解决方案文件并查看最上面的标识符行即可并将其复制到另一个解决方案文件中.

Depending on if they kept the solution file structure similar between 2008 and 2010, you just need to create an empty solution file in 2008 and look at the top identifier line in it, and copy it into the other solution file.

但是我怀疑他们是否将其保持不变,因为他们将许多功能集成到了解决方案文件中.

I however doubt they kept it the same since they were integrating a number of features into solution files.

您最好在2008年创建一个新的空白解决方案,然后使用添加现有项目"重新导入它们.只要您没有任何自定义的解决方案"范围广泛的引用,该引用就会起作用(没有解决方案文件夹,服务器设置等).

You would be better off to create a new blank solution in 2008 and use "Add existing project" to reimport them. As long as you dont have any custom "solution" wide references this will work (no solution folders, server setups, etc).

这可能是最快,最直接的路线.

It is probably the fastest and most direct route.

这篇关于如何将VS 2010解决方案转换回2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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