Weird runtime errors and the just in time compiler part 2

Posted Wednesday, June 28, 2006 3:59 PM by Maurice
Yesterday I blogged about some if the weird runtime errors we had been experiencing. Well some colaberatiosn between several MVP's (great crowd btw) led to a partial solution. By adding:
<Assembly: Debuggable(True, True)>
to the project will efectively turn off all JIT optimizations for the whole assembly. Not the best of solutions because it sure hurts perormance :-( and even then not a compete one because some of the issues like an invalid cast to System.__Canon still remains. But atleast we have the app running in a more or less stable manner.

Still this experience sucks and makes me a bit wary of .Net 2.0.

Maurice de Beijer



Filed under:

Leave a Comment

(required) 
(required) 
(optional)
(required)