プロジェクトのメンテナンスを引き継いだところです。これは、プロジェクトの中に C++ プロジェクトを含む VS2010 ソリューションです。ソリューション全体は、ソース管理システムとして TFS 2010 に保持されます。
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 にこれを再作成させる必要がありますか?
- リポジトリ内の .SDF を効果的にバイパスするフォールバック オプションの使用にチェックを入れる必要がありますか?
または 、プロジェクトを開くときに自動的にチェックアウトできるように、VS2010 に SDF ファイルがソース管理下にあることを知らせるより良い方法はありますか?