I am running a console app by .net core 1.1. It's runs fine under CMD, but when I try to run it by windows Task Scheduler, it's got following error in the windows event log
I try windows server 2012 and 2016 got the same problem, Any idea?
Faulting application name: JobApp.exe, version: 1.1.0.1179, time stamp: 0x58224b03
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18340, time stamp: 0x57366075
Exception code: 0xe0434352
Fault offset: 0x0000000000008a5c
Faulting process id: 0x1854
Faulting application start time: 0x01d32c4ebd802558
Faulting application path: C:\temp\app\JobApp.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: fb59fdf5-9841-11e7-8149-02c153f564e7
Faulting package full name:
Faulting package-relative application ID: