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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5. Select the newly created Source folder and then click OK.<br />

6. Check your source control folder structure by clicking Source Control <strong>with</strong>in <strong>Team</strong><br />

Explorer. It should resemble the following:<br />

7. At this point you can view pending changes and check your solution source files into<br />

the server. To do so, on the View Menu, point to Other Windows and then click<br />

Pending Changes. Select your project and the source files to be checked-in, supply a<br />

check-in comment and then click Check In.<br />

Shared Code Considerations<br />

For ASP.NET Web applications that reference shared source code, you can consider the<br />

following two main options:<br />

• Reference the code from a shared location<br />

• Branch the shared code<br />

Reference the Code from a Shared Location<br />

With this approach, you map the source from a shared location such as another team<br />

project into the workspace on your development computer. This creates a configuration<br />

that unifies the shared source from the shared location and your project code on your<br />

development computer.<br />

The advantage of this approach is that any changes to the shared source are picked up<br />

every time you retrieve the latest version of the source into your workspace. For example<br />

consider a team project named Common that contains the shared source. To reference the<br />

code from this location, you would map both team projects to a common path location on<br />

your development computer. For example:<br />

• C:\DevProjects\MyWebAppSln\<br />

• C:\DevProjects\SharedCommon\<br />

The following workspace mappings are used:

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

Saved successfully!

Ooh no, something went wrong!