简体   繁体   English

将C ++项目从Visual Studio 2008转换为Visual Studio 2010

[英]Converting C++ project from Visual Studio 2008 to Visual Studio 2010

I have a C++ project developed with Microsoft Visual Studio 2008, that now I want to convert to Visual Studio 2010. 我有一个使用Microsoft Visual Studio 2008开发的C ++项目,现在我想转换为Visual Studio 2010。

I've opened the VS2008 solution with VS2010 and to run the default conversion. 我用VS2010打开了VS2008解决方案,并运行默认转换。 The conversion went alright, but then my project was "unloadable": Visual Studio shows it in the menu, but below it says "The project was unloaded", and there's no way to open it. 转换进行得很顺利,但是我的项目是“可卸载的”:Visual Studio在菜单中显示它,但是在其下方显示“该项目已卸载”,无法打开它。

我的VS2010转换尝试的摘要

What could I do? 我能做什么? Why do the project result "unloaded"? 为什么项目结果“已卸载”? Why does it refuse to open it? 为什么拒绝打开它?

Many thanx to all 对所有人的感谢

[Edit] If I click on "reload project", here's what I get: [编辑]如果单击“重新加载项目”,则得到的是:

在此处输入图片说明

Try to remove the unloadable project from the solution. 尝试从解决方案中删除可卸载项目。 Then add an existing project and select the VS2010 vcxproj file that was created by the project conversion. 然后添加一个现有项目,然后选择由项目转换创建的VS2010 vcxproj文件。 If it doesn't exist try to add the original VS2008 vcproj file , which should be automatically converted in the process. 如果不存在,请尝试添加原始VS2008 vcproj文件,该文件应在此过程中自动转换。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM