Best way to use with solutions not at root directory of projects?

Feb 9, 2012 at 9:45 PM
Edited Feb 9, 2012 at 9:47 PM

Hi,

I am very new to TFS and all the custom build activities that you can create for it. I am using TFS Versioning and it is working great, however, I have a scenario where in our repository we have a structure such that the solution files are not in the parent folder containing the projects.

Example:

 Repository\

        Source\

                 Web\<code and projects are here>

                 Windows\<code and projects are here>

       Solution Files\

                 Web.sln

                 Windows.sln

What's the best way to go about modifying the solution to fit my needs? Or is there some configuration that I can do that will fit my needs? 

I saw in a posting that someone suggested that they replace 

[Path.Combine(Path.GetDirectoryName(SolutionPath), "**", AssemblyInfoFilePattern)]

with 

[Path.Combine(Path.GetDirectoryName(BuildDirectory), "**", AssemblyInfoFilePattern)]

 

I did this and it works fine, however, I am quite sure that my AssemblyInfo.cs files are being renamed over and over for every solution in my build definition (correct me if I am wrong).

 

Can someone give me some advice as the best way to go about this? Any help would be greatly appreciated... Thanks!

Feb 10, 2012 at 4:48 PM

Nevermind, I moved the solution files. I hated that Solution Files directory anyway.