如何修复“缺少根元素".在进行 Visual Studio (VS) 构建时? [英] How to fix "Root element is missing." when doing a Visual Studio (VS) Build?

查看:80
本文介绍了如何修复“缺少根元素".在进行 Visual Studio (VS) 构建时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何解决缺少根元素".在进行 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屋!

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