I'm having trouble using MSBuild to compile solution files.
For example, I have a solution with 3 projects, but I set one of the projects not to compile in my Debug configuration. I run the following command:
msbuild "C:\Temp\Solution\Solution.sln" /p:Configuration=Debug
However it builds all 3 projects, whereas if I run the following command:
devenv "C:\Temp\Solution\Solution.sln" /build debug
It only builds the two that I have set to build.
Is there a way to get MSBuild to build using the settings from the solution file
Thanks,
Matt Garven

Building from a Solution file
John Ravacio
In Beta 2 msbuild.exe didn't support solution configurations yet. So, it can't tell that you don't want one of the projects to build.
For final release, we expect to have this fixed. If you get a chance to try any interim release before the final shipping release give it a try and let us know if there's any issues.
Thanks
Dan (msbuild@microsoft.com)
"This posting provided "as-is" with no warranties"