Thread: .NET sln
View Single Post
  #2  
Old 01-05-2006, 09:02 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,013
Creating a full-fledged VS2005 solution file (one that the VS IDE will recognize) would be a lot of work. You could create a minimal one that only Visual Build Pro could parse and process, but this sounds like overkill because to create it you will probably need something like a Process Files step to iterate over the projects to include: instead of iterating to create a solution file, you could simply build each suitable project directly.

I recommend you use a Process Files step to iterate over *.csproj and exclude any specific projects that you don't want to build, then use a child Make VS.Net step to build each project as you iterate. That way you never build up a partially valid .sln file, reducing the complexity of the build while achieving the desired result.

See the Recurse.bld sample for some steps demonstrating use of the Process Files action.
Reply With Quote