我使用msbuild编译Visual Studio 2010解决方案,需要一个成功的构建,没有任何错误.
但是每次运行msbuild / rebuild(或直接使用Visual Studio清理和编译我的解决方案),我会收到几个这样的bscmake错误(有时错误在没有清理的情况下再次编译,但这不是一个很好的解决方案) msbuild两次):
[...] 10> Generating Code... 11> xxxxxxxx\mshtml.tlh(63588): warning BK4504: file contains too many references; ignoring further references from this source 11> 11>BSCMAKE : error BK1500: Internal error 11> 11> Version 10.00.30319.01 11> 11> ExceptionCode = C0000005 11> ExceptionFlags = 00000000 11> ExceptionAddress = 001343DA (00130000) "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\bscmake.exe" 11> NumberParameters = 00000002 11> ExceptionInformation[ 0] = 00000000 11> ExceptionInformation[ 1] = 00000000 11> 11> CONTEXT: 11> Eax = 00141B30 Esp = 003CF1C0 11> Ebx = 04B142C6 Ebp = 003CF770 11> Ecx = 04BB621C Esi = 00000006 11> Edx = 00000000 Edi = 00000001 11> Eip = 001343DA EFlags = 00010293 11> SegCs = 00000023 SegDs = 0000002B 11> SegSs = 0000002B SegEs = 0000002B 11> SegFs = 00000053 SegGs = 0000002B 11> Dr0 = 00000000 Dr3 = 00000000 11> Dr1 = 00000000 Dr6 = 00000000 11> Dr2 = 00000000 Dr7 = 00000000 [...]
关键是,我不需要浏览信息为我的发行,我不想要这个错误信息发生(有可能隐藏错误像这样Visual Stuido 2008,但我认为编译器参数是没有更长的可用).
如何隐藏bscmake错误?
我可以停用bscmake(发布版本)吗?
解决方法
根据Hans Passants的评论:
谢谢!