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文件是源代码控制之下,因此它可以自动检查什么时候打开项目?