Gert,
I resolved this issue but I thought I'd report this to you. Here's the scenario:
Like any big project, several people have worked on the 55+ projects that are part of the solution I am now building through NAnt (well, it is no longer a single solution) but it looks like at some point somebody created a Solution Config on top of the default Release and Debug ones. Then it was never used again and more projects were added to the solution without being added to the new configuration (let's call it "MyConfig"). All that was OK until I tried to build the solution with NAnt (<solution> task), it gave me an error (don't have the exact message anymore, something like 'cannot the "MyConfig" configuration)) so I went and removed MyConfig from the solution through the IDE's Configuration Manager. Well, this does remove MyConfig from the .sln file but did not touch the .csproj files and since some of them did not have the MyConfig configuration, the build failed. My solution was to manually remove the "MyConfig" configuration from each .csproj fi
le that
had it.
Let me know if you need more info.
Thanks!