there is no source code available for the current location的解決方法

 今天遇到該問題,簡單的clean and rebuild 不行。

Tools->Options->Debugging->General->去掉Require source files to exactly match the original version之前的勾即可。

我懷疑可能是輸入某些不兼容的編碼導致,因爲在編譯信息中發現一個警告:
warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss。。。

 

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