Visual Studio 2012项目文件“”已重命名或不再在解决方案中 [英] Visual Studio 2012 The project file "" has been renamed or is no longer in the solution

查看:867
本文介绍了Visual Studio 2012项目文件“”已重命名或不再在解决方案中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近升级了我的IDE,但不是我的编译器从VS2010到VS2012,现在我有一个我的解决方案的问题。当我尝试建立它,我得到以下消息。

I recently upgraded my IDE, but not my compiler from VS2010 to VS2012 and now I'm having issues with one of my solutions. When I try to build it I get below message.


项目文件已重命名或不再在解决方案

The project file has been renamed or is no longer in the solution

当我尝试构建单个项目时,我得到以下消息

And when I try to build the individual projects I get below message


一个构建已经在进行中

A build is already in progress

我已经尝试删除并重新添加所有项目, t帮助。我甚至创建了一个全新的解决方案与所有相同的项目,但是当我尝试构建我有与原始解决方案相同的错误。

I've tried removing and re-adding all the projects, but that doesn't help. I even created a brand new solution with all the same projects, but when I tried to build I got the same errors as with the original solution.

我读过很多人都有类似的问题,但是他们的解决方案都没有帮助我。

I've read that lot of people have similar problems to this, but none of their solutions have helped me so far.

一个建议是查看是否有任何项目缺少参考,但我不完全确定如何去做。

One suggestion was to see if any projects had any missing reference but I'm not entirely sure how to go about doing that.

我尝试删除引用和重新添加它们,但每次我试图重新添加它们时,我得到相同的错误项目文件''已重命名或不再在解决方案

I tried removing the references and re-adding them but every time I tried to re-add them I got the same error "The project file '' has been renamed or is no longer in the solution"

任何帮助或建议将是真棒!

Any help or suggestions would be awesome!

推荐答案

我有同样的问题,并通过确保其他项目引用的每个项目都包含在解决方案中来解决。

I had the same problem, and solved it by making sure that every project referenced by other projects were included in the solution.

右键单击第一个项目,选择引用...,并确保包含引用下列出的每个项目。去下一个,做同样的。

Right-click on the first project, choose References... and make sure every project listed under References are included. Go to the next and do the same.

这解决了我的问题项目文件已被重命名或不再在解决方案。不知道A build is already in progress的问题。

That solved my problem with "The Project file '' has been renamed or is no longer in the solution". Not sure about the problem with "A build is already in progress".

这篇关于Visual Studio 2012项目文件“”已重命名或不再在解决方案中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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