Add a solution to source control

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 Microsoft Expression Blend 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 Expression 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 Expression Blend). For more information, see How to: Add a Project or Solution to Version Control Ee341445.xtlink_newWindow(en-us,Expression.40).png and How to: Bind and Unbind Projects and Solutions Ee341445.xtlink_newWindow(en-us,Expression.40).png on MSDN.

important noteImportant

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 Microsoft Expression Blend. 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 of your project.

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

See also

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.
© 2015 Microsoft