Partager via


Add a solution to source control

As a designer, you might find that you need to create temporary solutions to test design ideas.

You can use Blend for Visual Studio 2012 to create a solution, but if you want to add it to source control, you have to use Microsoft Visual Studio Team System 2010 (not Visual Studio Team System 2010 Team Explorer). Additionally, if you want to use Blend to check files in and out, the solution must be bound (able to use source control functionality from inside either Microsoft Visual Studio or Blend). For more information, see How to: Add a Project or Solution to Version Control and How to: Bind and Unbind Projects and Solutions on MSDN.

Important

Make sure that your solution is saved in your Microsoft Team Foundation workspace folder before adding it to source control. Otherwise, you will get the error "Unable to determine workspace" when you try to open the solution in Blend for Visual Studio 2012. Adding a solution to source control adds source control properties to the solution file.

As an alternative to adding test solutions to source control, you can work on duplicate solutions to test out your design ideas before making permanent changes to a solution that is under source control. For more information, see Create a duplicate project.

When you copy a solution, the copy will not be under source control.

Voir aussi

Tâches

Add a project to a solution under source control

Create a duplicate project

Concepts

Working with Team Foundation source control