我使用 msbuild 编译Visual Studio 2010解决方案,并且需要成功构建且没有任何错误。
但是每次我直接使用 Visual Studio 运行 msbuild、rebuild 或清理和编译我的解决方案时,都会遇到几个类似这样的 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 Studio 2008 可以隐藏此类错误,但我认为编译器参数不再可用。
如何隐藏 bscmake 错误?
我可以停用 bscmake(对于发布版本)吗?