2
我剛剛接管了一個項目的維護。這是一個VS2010解決方案,其中包括一個C++項目。整個解決方案作爲源控制系統保存在TFS 2010中。VS2010解決方案在TFS 2010源代碼控制下,一個C++項目在打開時發出警告
現在每當我打開解決方案VS2010給我這個惱人的對話框;
Visual C++ found a suitable location to store its browsing database and IntelliSense files
for the solution
"C:\***\****x.sln."
Visual C++ examined the folder "C:\***\A***LL."
This folder is not suitable because of the following:
The browsing database in this directory has the read-only attribute and cannot be written to.
The directory is on a local drive.
Because a 'Fallback Location' was not specified in the C++ Advanced Options, Visual C++ is
attempting to use your temporary directory.
Visual C++ examined the folder "C:\Users\***\AppData\Local\Temp\VC++\c****-57e7d5e2." This folder is suitable because of the following:
The directory is on a local drive.
The 'Fallback Location' is configurable under C++ Advanced Options.
Press OK to use this location.
它看起來像這樣由C++溶液* .sdf文件源控制,溶液被打開時(儘管源控制之下),這意味着下是引起它的只讀因此的只讀位對話框。
所以我的問題是什麼TFS源代碼管理下的C++項目的最佳做法?
- 我應該從源代碼控制中刪除.sdf文件,讓VS每次都重新創建一次somone獲得解決方案嗎?
- 我應該剔efectivly繞過.SDF資源庫中的使用後備選項
或 有沒有更好的辦法,讓VS2010知道SDF文件是源代碼控制之下,因此它可以自動檢查什麼時候打開項目?