jlucansky / Quartzmin

Quartzmin is powerful, easy to use web management tool for Quartz.NET
MIT License
554 stars 184 forks source link

add App.Debug.config cause System.IO.FileLoadException #24

Open 5468sun opened 5 years ago

5468sun commented 5 years ago

quartz implement in a C# console app。works fine untill i add config transform file to project.

now when i hit run to debug app, console output as follow.

“zdyl.messageScheduler.exe”(CLR v4.0.30319: zdyl.messageScheduler.exe): 已加载“D:\P-Playground\WebMVC\zdyl.messageScheduler\bin\Debug\Microsoft.Owin.StaticFiles.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。
“zdyl.messageScheduler.exe”(CLR v4.0.30319: zdyl.messageScheduler.exe): 已加载“D:\P-Playground\WebMVC\zdyl.messageScheduler\bin\Debug\Handlebars.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。
“zdyl.messageScheduler.exe”(CLR v4.0.30319: zdyl.messageScheduler.exe): 已加载“D:\P-Playground\WebMVC\zdyl.messageScheduler\bin\Debug\JsonSubTypes.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。
“zdyl.messageScheduler.exe”(CLR v4.0.30319: zdyl.messageScheduler.exe): 已加载“C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。
“zdyl.messageScheduler.exe”(CLR v4.0.30319: zdyl.messageScheduler.exe): 已加载“C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。
引发的异常:“System.IO.FileLoadException”(位于 mscorlib.dll 中)
引发的异常:“System.NullReferenceException”(位于 mscorlib.dll 中)
“System.NullReferenceException”类型的异常在 mscorlib.dll 中发生,但未在用户代码中进行处理
未将对象引用设置到对象的实例。

“zdyl.messageScheduler.exe”(CLR v4.0.30319: zdyl.messageScheduler.exe): 已加载“C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.dll”。已跳过加载符号。模块进行了优化,并且调试器选项“仅我的代码”已启用。
程序“[15864] zdyl.messageScheduler.exe: 程序跟踪”已退出,返回值为 0 (0x0)。
程序“[15864] zdyl.messageScheduler.exe”已退出,返回值为 -1073741510 (0xc000013a)。
[11:36:49 INF] Removed 0 'complete' triggers.
[11:36:49 DBG] Prepared SQL: DELETE FROM QRTZ_FIRED_TRIGGERS WHERE SCHED_NAME = 'MassTransit-Scheduler'
[11:36:49 INF] Removed 0 stale fired job entries.
[11:36:49 DBG] Lock 'TRIGGER_ACCESS' returned by: 697bf713-3446-4b37-8401-da9114d3d0b7
[11:36:49 DBG] Scanning for misfires...
[11:36:49 DBG] Prepared SQL: SELECT COUNT(TRIGGER_NAME) FROM QRTZ_TRIGGERS WHERE SCHED_NAME = 'MassTransit-Scheduler' AND MISFIRE_INSTR <> -1 AND NEXT_FIRE_TIME < @nextFireTime AND TRIGGER_STATE = @state1
[11:36:49 DBG] Found 0 triggers that missed their scheduled fire-time.
[11:36:49 INF] Scheduler MassTransit-Scheduler_$_NON_CLUSTERED shutting down.
[11:36:49 INF] Scheduler MassTransit-Scheduler_$_NON_CLUSTERED paused.
[11:36:49 DBG] Shutting down threadpool...
[11:36:49 DBG] Shutdown of threadpool complete.