26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To add the solution to your source tree:<br />

1. Open your solution in <strong>Visual</strong> <strong>Studio</strong>.<br />

2. In Solution Explorer, right-click your solution and then click Add Solution to Source<br />

Control.<br />

Because you have already established a workspace mapping in Step 1, the solution is<br />

added at this point.<br />

3. Make sure that the correct Local Workspace is selected. This should be the same<br />

workspace that you used while creating your folder structure in TFS source control.<br />

4. Click OK to add your solution to source control.<br />

You source control folder structure should resemble the following:<br />

/Main<br />

/Source<br />

/MyApp1<br />

/Source<br />

/MyApp1Web<br />

/ClassLibrary1<br />

/Build<br />

/Docs<br />

/Tests<br />

For more information about how to setup an appropriate client-side folder structure, see:<br />

• How To – Structure Windows Applications in <strong>Visual</strong> <strong>Studio</strong> <strong>Team</strong> <strong>Foundation</strong><br />

<strong>Server</strong>.<br />

• How To – Structure ASP.NET Applications in <strong>Visual</strong> <strong>Studio</strong> <strong>Team</strong> <strong>Foundation</strong><br />

<strong>Server</strong>.<br />

Creating a Folder Structure When a Project Has Unit Tests<br />

If your project also includes unit tests, consider creating the following folder structure to<br />

store your unit tests separate from your main source folder:<br />

/Main<br />

/Source<br />

/MyApp1<br />

/Source<br />

/MyApp1Web<br />

/ClassLibrary1<br />

/UnitTests<br />

/Build<br />

/Docs<br />

/Tests

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!