Home > Uncategorized > TFS – Create sub-folders and Solutions in Visual Studio

TFS – Create sub-folders and Solutions in Visual Studio

I have a folder under the Developers Projects. I need to create a few sub-folders, and also a Solution in VS to associate solutions items to those sub-folders.

Here is how I did it.

We first need to create a new project in Visual Studio. Highlight my folder, then go to menu File –> New –> Project…

Create a blank solution. Make sure to check “Add to Source Control”.

I named this new Solution “PC Asset ETL”.

image

The following steps demonstrate ho to create sub-folders locally first, then link them to a solution item. I want to create a sub folder SSIS, and check in two of my SSIS packages.

Highlight my folder in VS.

image

Go to Source Control menu and select New Folder.

image

Give it a name SSIS.

image

Save the changes, then Check in the pending changes. This should create a sub-folder SSIS locally for me and also on TFS server.

In the newly created SSIS sub-folder, copy two of my SSIS packages to there locally.

image

Go back to VS. We need to associate this sub-folder SSIS with a solution item under the VS solution “PC Asset ETL”.

In the Solution Explorer,  right-click on the solution, Add –> Existing Item…

image

Navigate to the SSIS folder, and select both SSIS packages I just copied.

image

Both SSIS packages are added to the solution, and a Solution Item is created. Rename the Solution Items to SSIS. Save the changes and check in.

image

Finally.

image

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: