Warning displayed when adding solution to Team Foundation Server 2010

Calanus picture Calanus · Jun 1, 2009 · Viewed 26.5k times · Source

I'm just getting to grips with TFS 2010 (never had any luck with TFS 2008) and I'm trying to add my first solution into TFS. However I am getting the following warning message:

The project that you are attempting to add to source control may cause other source control users to have difficulty opening this solution or getting newer versions of it. To avoid this problem, add the project from a location below the binding root of the other source controlled projects in the solution.

Can someone explain to me what this means and how to resolve it? This warning is displayed when right clicking on the solution in Solution Explorer and selecting "Add to Source Control".

Answer

Mitch Wheat picture Mitch Wheat · Jun 1, 2009

Your solution folder structure should resemble:

Solution Root folder
├── .sln solution file       
│
├── Project1 folder
│   └── Project1.csproj   (or .vbproj)
│
├── Project2 folder
│   └── Project2.csproj   (or .vbproj)
.
.
.