System.Reflection.TargetInvocationException 调用的目标发生了异常:这个错误是在没有加上try catch捕捉异常前,跳转到了Main()函数里报错加上异常捕获后,报System.Threading.ThreadAbortException:正在中止线程:解决方案:https://www.cnblogs.com/imstrive/p/5631147.html