Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get rid of "BSCMAKE : error BK1500: Internal error" compile errors

I use msbuild to compile a Visual Studio 2010 solution and need a successful build without any errors.

But each time I run msbuild, or rebuild, or clean and compile my solution directly using Visual Studio, I get several bscmake errors like this one. Sometimes the errors disappear when compiling again without cleaning, but it is not a good solution to me to run msbuild twice.

[...]
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

[...]

The point is that I don't need browse information for my release and I don't want this error message to occur. It was possible to hide errors like these with Visual Studio 2008, but I think that the compiler parameter is no longer available.

How can I hide bscmake errors?

Can I deactivate bscmake (for release versions)?

like image 503
road242 Avatar asked Apr 19 '12 12:04

road242


2 Answers

According to Hans Passants comment:

enter image description here

Thank's!

like image 132
road242 Avatar answered Nov 03 '22 16:11

road242


One cause of this is to have a .cpp file compiled with /clr in a project with an output of a static lib. Either remove the /clr from the file or change the project to output a dll.

like image 44
codekaizen Avatar answered Nov 03 '22 15:11

codekaizen