debug时运行正常,
但exe程序却发生Just-In-Time Exception
(具体是做了异步里面更新画面内容)
解决对策:
【app.config】文件:
jitDebugging设为ture
<?xml version="1.0" encoding="utf-8"?> <configuration> <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup> <system.windows.forms jitDebugging="true" /> </configuration>