I can't check in an existing project to VisualStudio.com

Viewed 14693

I have Visual Studio Express 2012 installed which is linked to my VisualStudio.com account, I created a new project but I didn't tick the

Add to source control

option as I was intending it to be a throwaway project. However, I now want to keep it so I am trying to add it to source control after the fact.

I've tried both adding the project to source control when the project is open and moving the files from the "Excluded Changes" section of the Pending Changes window. In both cases I get the following error:

TF10169: Unsupported pending change attempted on team project folder $/RadioButtonTest. Use the Project Creation Wizard in Team Explorer to create a project or the Team Project deletion tool to delete one.

My default collection is mapped to E:\Chris\projects and the project I'm trying to add is directly in that folder.

What am I missing?

7 Answers

I'm not quite sure why you are getting this error but here is another approach you could take.

  • Create a new project with the same name and check the "Add to Source Control" project.
  • Commit the initial version and close the project in Visual Studio
  • Copy the contents of the real project over the newly created project
  • Re-open in Visual Studio and let it detect the new changes
  • Commit the new changes to SCC

This is a round about way of getting an existing project into source code control.

I got this error when I went to check in a project, I had created the solution in a new team folder that was not in TFS and fixed it by doing the following:

  1. Go to Team Explorer
  2. Click the drop-down arrow to the right of Home
  3. Click Projects and My Teams
  4. Click New Team Project...

Add a team project with the same name as the new project folder.

Related