This is a forward from the CLR last as no one replied to this. Is anyone
else able to replicate this?

Quick rundown of the below is...Compile in Release mode, then compile in
Debug mode, and then finally compile in Release mode again, and the last
compile will crash Visual Studio 2003.

-akshay

> I'm pretty sure this is what is causing the problem, and it's rather
> annoying.
> 
> First I build[1] in a given Soluton (Debug), and then after 
> some editing
> I'm done. I change to "Release" and then go to compile it 
> again. Finally
> I change back to Debug and build a 3rd time. At this point VS.Net[2]
> 2003 crashes. Once a JIT box came up. All times a Console comes up,
> along with the "Send bug report box." All I have to do is restart,
> change the Solution Configuration again and compile and all works.
> Without fail this happens when I switch the config 2 times. 
> See below[3]
> for error message from output.
> 
> Note that project in question (it works for some of the 
> others) is a DLL
> with a fairly large number of files (~200) and is a DLL which gets
> registered for COM as well. 
> 
> -akshay
> 
> [1] I use Ctrl+Shift+B to Build Solution
> [2] Using VS.Net 2003
> [3] 
> Internal Compiler Error (...): likely culript is 'BEGIN'.
> ############as occurred in the compiler. To work around this problem,
> try simplifying or changing the program near the location 
> listed below.
> Lcoation at the top
> [aside]
> (I assume ### is "An error h", it gets cut of here, as my 
> output window
> is this wide. I'd make it wider, but I wouldn't be able to 
> read most of
> the message then (JIT pop up box blockes it)
> [/aside]
> error CS0587: Internal Compiler Error: stage 'BEGIN'
> 
> Build complete -- 2 errors, 0 warnings
> Building satellite assemblies...
> 
> Also, sometimes it doesn't even get this far, just dumps before any
> output.
> 

Reply via email to