Tips and Tricks in a world of Mix

 

It’s a known problem, that the Visual Studio always tries to make you adapt it’s own solution tree architecture.

This is the way to make the Solution Tree as simple as possible.

Step by step:

1) The solution doesn’t work write. Make a backup of the Main Project Folder holding the project. Make sure that you have the last version in the VSS, and better that all the users will be off, although not necessary.

2). Delete the Main Project Folder holding the project. Now you don’t have even the folder where your project has been placed.

3). Open Visual Studio and add a new Blank Solution as pointed at the picture 1.

Picture 1

Pay attention , in this case we choose the Other Project Types category of Project Types , and a sub category of Visual Studio Solutions. Inside we have the Blank Solution, (to which we’ll connect later the already existing projects that we deleted previously).

Pay attention, the location in this case will be a folder above your Main Project Folder. The Name is in fact the name of the Main Project Folder that you are about to create. Solution name is by default closed, which is fine because we don’t want to create any unneeded sub folders.

In picture 2 you can see the system file folders after the creation of the Blank Solution as explained above.

Picture 2

4) Now we re-add the Existing Projects, but wait.. we’ve deleted them, right?

Picture 3

5)We are getting the Projects from the VSS.

6). On the Main Project Folder in VSS set the definitions for the get latest version .

7)We agree to create again the folders that we’ve deleted .

8)..But, we’re leaving the Soltuion File we’ve created .

9). Now go back to Visual Studio and re-add the projects by adding existing projects by .csproj files.

With Solution Folder you’ll have to sweat a bit but nothing to do about it.

10). Check out project dependencies per project.

11). Get Latest on the Project Solution – reassure that you have all the latest code.

Kaidanov Gregory Tzvi 16.06.2010

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

Tag Cloud

%d bloggers like this: