将Visual Studio 7.1项目转换为Visual Studio 9项目? [英] Convert Visual Studio 7.1 project to Visual Studio 9 project ?

查看:160
本文介绍了将Visual Studio 7.1项目转换为Visual Studio 9项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 7.1中有一个Asp.Net项目,现在无论何时在Visual Studio 2008中打开它,我都无法访问项目文件: ^ ]
如何使用VS2008或VS2010打开项目?

I have an Asp.Net project in Visual Studio 7.1 , Now whenever I open it in Visual Studio 2008 , I can''t access to project files :image[^]
How can I open the project with VS2008 or VS2010 ?

推荐答案

当您尝试在VS2008或VS2010中打开VS2005项目时,VS会自动要求进行转换.从图像中可以明显看出,解决方案已转换,但项目未转换.

根据解决方案的结构,VS无法将关联的项目文件转换为解决方案.
现在,在VS2008或VS2010中打开项目文件(而不是解决方案文件).这次VS将自动成功转换项目.然后,您可以为其创建新的解决方案文件,也可以将其添加到旧的解决方案文件中.
When you try to open VS2005 project in VS2008 or VS2010 then VS will automatically ask for conversion. From the image it is clear that solution was converted but not the project.

Based on the structure of your solution VS failed in comverting the associated project files to solution.
Now open the project file in VS2008 or VS2010 (not the solution file). This time VS will automatically convert the project successfully. You can then either create a new solution file for it or let it be added to old one.


我必须使用简单的文本编辑器打开sln文件.
并搜索未找到的项目,并更正了目录路径.

I had to Open the sln file with a simple text editor.
and searched for my project that did not find, and corrected the directory path.

Project("{XXXX-XXXXX-XXXX}") = "PECeShopSame",
"Dir1\PECeShopSame\PECeShopSame.csproj", "{XXXX-XXXXX-XXXX}"



参考 [ ^ ]



Reference[^]


这篇关于将Visual Studio 7.1项目转换为Visual Studio 9项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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