Error Adding Solution to TFS source control - by Bill Sheldon

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 734034 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 3/28/2012 9:24:26 PM
Access Restriction Public

Description

Opened an existing solution from Visual Studio 10 in the VIsual Studio 11 Beta and attempted to add it to source control.  Got an error that the system encountered 48 errors attempting to perform the add operation on 48 items.  First error encountered was TF10175 that the top level project $MarkentingStoreData did not exist... Of course that wasn't where I want the project I want to put it under an existing team project that doesn't match the solution name.  We are using TFS 2008 and the TFS server is on a separate machine.
Sign in to post a comment.
Posted by Microsoft on 4/10/2012 at 1:58 PM
Hi Bill,
Thanks for reporting this issue to us. It sounds like this is the problem.
1. You have the root folder ($/) mapped to something on your disk. Call it C:\TFS.
2. You have a solution already in TFS somewhere. Let's say it's at $/TeamProject/MySolution. The corresponding path on your local disk is C:\TFS\TeamProject\MySolution.
3. Now you want to add another solution to source control. So you put this new solution at C:\TFS\NewSolution. You open the .sln file in Visual Studio and go to Add Solution to Source Control.
4. The server rejects your attempt to pend an add on items under this folder, because the top level folder $/NewSolution doesn't exist. Top level folders are reserved for team projects -- the only way to create one is to create a team project with the New Team Project wizard.

The appropriate action to take here would be to instead put your new solution at a location under your existing team project. So for this example, one place might be in C:\TFS\TeamProject\NewSolution. From here, the solution should add to source control just fine.

I hope this makes sense.
Thanks,
Philip
Version control team
Posted by EricLeong [Feedback Moderator] on 3/29/2012 at 2:37 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 3/28/2012 at 9:55 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)