[記錄]mscorlib recursive resource lookup bug解決方法

[Content]
Expression: [mscorlib recursive resource lookup bug]
Description: Infinite recursion during resource lookup within mscorlib. This may be a bug in mscorlib, or potentially in certain extensibility points such as assembly resolve events or CultureInfo names. Resource name: Word_At

寫了這麼多年程序,第一次遇到,在N臺電腦運行的程序,在某一臺就運行不了,遂裝編譯環境,調試,出現上述問題,無解。

度娘之,翻了N篇,總算找到解決方法,記錄之。

http://www.datazx.cn/windowsyingyongchengxujianrong/20171111935/mscorlibrecursiveresourcelo

看六樓:

Hi all:
I've found a simple solution to cleanup the error: I noticed that VS2010 crashes when trying to open the Solution/Project so I deleted my [solution_name].suo hidden file BEFORE opening VS and "voila" problem solved! When VS opens the
     Solution creates a new .suo file
Hope this helps

大意就是,顯示電腦隱藏文件,將項目目錄下,項目名稱.suo文件刪除,重新編譯。問題解決。

[補充]

又遇到此問題,上面方法無效,將.Net Frameword 4.0改爲4.5,編譯,解決此問題。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章