c# - How can I prevent my application from causing a 0xc0000142 error in csc.exe? -
c# - How can I prevent my application from causing a 0xc0000142 error in csc.exe? -
the application in question written in c#. late in development cycle, close launch on our application. 1 of coworkers seeing next issue:
when logs out of windows 7 session while application running, gets "csc.exe - application error" popup window says "the application unable start correctly (0xc0000142). click ok close application."
i believe have tracked downwards fact update application's xml config file on exit, , code uses xmlserializer. according this question, xmlserializer launches csc.exe compile serialization assemblies dynamically on as-needed basis, @ run time. suspicion bolstered fact that, if remove update config file @ exit time, coworker no longer sees error message in question.
can explain me in more detail happening here? why csc.exe fail start when executed @ scheme logout? there low-risk solution can set in place mitigate problem?
things have considered:
use sgen generate serialization assemblies , deploy them application. sounds promising, experiments pretty dismal. seems able generate dll either entire assembly or single class, no way specify list of classes. also, when point 1 of assemblies, starts complaining classes in assembly duplicate names. use means read / write xml. i'm not confident implementing @ our current stage of development. hoping launch soon, , feels much of risk. c# xmlserializer csc
Comments
Post a Comment