程序中不報錯,VisualStudio正常運行,但就是500
日志
每次打開時都會在事件查看器
中發現兩條新異常日志
第一個:Application '/LM/W3SVC/2/ROOT' with physical root
項目路徑failed to load coreclr. Exception message: CLR worker thread exited prematurely
第二個:Application '/LM/W3SVC/2/ROOT' with physical root
項目路徑has exited from Program.Main with exit code = '0'. Please check the stderr logs for more information.
解決方案
查看最近新建的類/文件
,看看它們的引用中有沒有出現一行只有一個;
符號的
我在把它去掉之后就可以正常訪問了...這個就很迷- -