在Visual Studio 2010中构建错误 [英] Build error in visual studio 2010
本文介绍了在Visual Studio 2010中构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用vs 2010和4.0 .net框架
建设项目时它显示在下面的消息。
构建:0成功,1失败,0最新,0跳过
显示0错误。它没有报告任何错误。
你可以为此建议任何解决方案。
谢谢,
解决方案
如果您有一个使用构建事件或自定义构建步骤的项目,则该过程的所有部分(预构建,预链接,后构建等)必须完成且没有错误,否则构建失败。根据您编写事件的方式,您可以抑制/隐藏错误消息,这可能是一个重大的调试问题。
如果我打开vs使用以管理员身份运行选项工作。
Hi,
I am using vs 2010 and 4.0 .net framework
While building project its showing below message.
Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
Its displaying 0 errors. Its not reporting any error.
Can u suggest any solution for this.
Thanks,
解决方案
If you have a project that uses build events or custom build steps, all segments of the process (pre-build, pre-link, post-build etc.) must complete without errors, else the build fails. Depending on how you write the events, you can suppress/hide error messages, which can be a significant debugging headache.
If i open vs with 'run as administrator' option its working.
这篇关于在Visual Studio 2010中构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文