WinForm程序运行 Just-In-Time Exception发生时

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>

 

posted on 2017-06-05 10:46  CoderMonkey  阅读(338)  评论(0编辑  收藏  举报

导航