奇怪的Visual Studio 2012编译问题

时间:2013-06-18 16:12:36

标签: visual-studio-2012 compiler-construction build

自从我从VS2010升级到VS2012后,我遇到了一个奇怪的编译问题。我已经搜索了很多网页并且没有找到错误报告,所以我想知道这里是否有人遇到过类似的问题。可以修复吗?

编辑:我在Windows 7 x64上运行VS2012 Update 2并应用了所有补丁。

有时,特别是在从SVN退出后编译整个解决方案时,其中一个项目无法使用异常Object reference not set to an instance of an object进行构建。在此之后,如果我再次点击构建/重建,它就可以了!它不会一直发生,所以我不知道为什么。我检查了解决方案,项目及其参考资料,似乎没有任何奇怪之处。

构建窗口显示如下内容:

... blah blah, everything fine ...

114>------ Build started: Project: C:\...\mymainwebproject\, Configuration: Debug Any CPU ------
114>Validating Web Site
114>: Build (web): Object reference not set to an instance of an object.
114>
114>Validation Complete

... blah blah, everything fine ...


========== Build: 118 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

错误窗口看起来像(我的声誉太低,无法发布图片,但这里是链接):

http://i.imgur.com/piSfLR8.png

欢迎任何反馈。感谢。

0 个答案:

没有答案