This exception was thrown several times on Windows 7 SP1 or Windows 10...
System.BadImageFormatException: 试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)
at WkHtmlToXSharp.NativeCalls.wkhtmltopdf_deinit()
at WkHtmlToXSharp.WkHtmlToPdfConverter.Dispose(Boolean disposing)
at WkHtmlToXSharp.WkHtmlToPdfConverter.Finalize()
This exception was thrown several times on Windows 7 SP1 or Windows 10...
System.BadImageFormatException: 试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)
at WkHtmlToXSharp.NativeCalls.wkhtmltopdf_deinit() at WkHtmlToXSharp.WkHtmlToPdfConverter.Dispose(Boolean disposing) at WkHtmlToXSharp.WkHtmlToPdfConverter.Finalize()
I could not reproduce it myself though.