2010年4月23日 星期五

Visual Studio 2010: 編譯錯誤,could not create the new file tracking log file

在升級原 solution 到 Visual Studio 2010 後,發現無法 compile 了?出現了下面的錯誤

could not create the new file tracking log file: C:\Projects\?FileTracker : error FTK1011: could not create the new file tracking log file: C:\Projects\?

這是什麼東西啊!為何有個 tracking log file 呢?還出現了一個 ? 號.

這個?號我們應該常遇到,也就是當encoding 設不正確時會出現的 ? 號。因此,我判斷是路徑使用了中文字。

檢查一下,果然是中文路徑的問題,將原目錄中文的「客戶」改成英文的「 Customer」 後,就可以編譯了。

天啊,這樣的問題,微軟還是不小心再犯了。

沒有留言:

Share with Facebook