如何修复“缺少根元素".在进行 Visual Studio (VS) 构建时? [英] How to fix "Root element is missing." when doing a Visual Studio (VS) Build?
问题描述
如何解决缺少根元素".在进行 Visual Studio (VS) Build 时?
How to fix "Root element is missing." when doing a Visual Studio (VS) Build?
知道我应该在解决方案中查看哪个文件吗?
Any idea what file I should look at in my solution?
实际上,在使用Make VS 2008"命令时,我在Visual Build Pro"中收到此错误消息.这个命令在构建其他解决方案时工作得很好(比如大约 20 个),我不太确定为什么我的会收到错误.
Actually, I am getting this error message inside of "Visual Build Pro" when using using the "Make VS 2008" command. This command works just fine when building other solutions (like about 20) and I am not really sure why mine is getting the error.
非常感谢任何帮助.:)
Any help would be very much appreciated. :)
我使用的是 VS 2008 和 Visual Build Pro 6.7.
I am using VS 2008 and Visual Build Pro 6.7.
推荐答案
就我而言,是 xxxxxxxxxxxx.vcxproj.user 文件导致了问题;崩溃后它是空白的.我重命名了它,问题就解决了.
In my case it was the xxxxxxxxxxxx.vcxproj.user file that was causing the problem; it was blank after a crash. I renamed it and the problem went away.
这篇关于如何修复“缺少根元素".在进行 Visual Studio (VS) 构建时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!