Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Visual Studio 2010.

I have files that make up a project in TFS. They are not in a VS project, they are just loose files. I pull them from source control to my machine and then created a new project in the root of the files. I've included all the files in the project. My question is how do I connect my project to the existing files in source control? Right now there are no bindings inside my newly created project.

share|improve this question
You should probably post this on Stack Overflow – Oztaco Aug 7 '12 at 17:24
up vote 1 down vote accepted

Firstly, add your project to source control, then go to Solution Explorer, right-click and choose Add | Existing Item, then browse to the files you want to add.

Notice that you have the option to add the file as a link. The way that works is that if you add the file then VS moves the file to the project's location, thus creating a second copy of the file - which is probably not what you want. If you add the file as a link then the file remains in its location and is not moved.

add existing files

share|improve this answer
Hi, thanks for the response. The files are already in source control. What I am trying to do is create a project in Visual Studio, add the files pulled from source control to the project and then bind the project to source control. All the files are already in source control they are just not part of a project. – TheMethod Aug 8 '12 at 13:12
Yes, didn't read your question properly the first time. Have edited the answer, hope that helps. – Sean Kearon Aug 10 '12 at 7:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.