Using FB v6.3.0 and VS 2008 9.0.30729.1 SP and a Build VS.Net solution action without 'use MS build' checked I get a failure returned from devenv:
Running C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com with parameters : /clean "Debug|Any CPU"/project "Source\MSVC.90\wrxlp.vcproj" "D:\continuous_integration\src\lib\WRXLP_DLL\wrxlp_MS_2008.sln"------Microsoft (R) Visual Studio Version 9.0.21022.8.Copyright (C) Microsoft Corp. All rights reserved.Invalid solution configurationUse:devenv [solutionfile | projectfile | anyfile.ext] [switches]The first argument for devenv is usually a solution file or project file.You can also use any other file as the first argument if you want to have thefile open automatically in an editor. When you enter a project file, the IDElooks for an .sln file with the same base name as the project file in theparent directory for the project file. If no such .sln file exists, then theIDE looks for a single .sln file that references the project. If no such single.sln file exists, then the IDE creates an unsaved solution with a default .slnfile name that has the same base name as the project file.Command line builds:devenv solutionfile.sln /build [ solutionconfig ] [ /project projectnameorfile [ /projectconfig name ] ]Available command line switches:
If at the command line I give the solution as the first command to devenv it works fine. Where did I go wrong in FB?
I checked 'All projects in solution' - where the solution is from a fileset iterator - but even before I introduced the fileset iterator it still gave the same message
For Configuration I selected 'Debug|Any CPU' as was show in the drop down list. I have no idea what the configurations might be in the various projects I am trying to build - since I obtain the list of solutions from a search and don't want to have any prior knowledge of the individual configurations available
Running C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com with parameters : /clean "Release|x86"/project "Source\MSVC.90\Logger.vcproj" "d:\continuous_integration\src\lib\Logger\Logger_MS_2008.sln
This suggests that you have the action set to Clean instead of Rebuild :
The fact that a project is specified on the command line along with a solution suggests that you are specifying that selected projects be built, in which case they are built one at a time. There is no way to tell deven to build selected projects, you can either build the entire solution or one project at a time.
> For Configuration I selected ‘Debug|Any CPU’ as was show in the drop down list. I have no idea what the configurations might be in the various projects I am trying to build
This is the problem as not all projects have a ‘Debug|Any CPU’ configuration (for example, ‘wrxlp_MS_2008.sln’). If you want to iterate over solutions like this you’ll need to either make sure they all have ‘Debug|Any CPU’ or parse the solution file to pick a configuration for each solution.