I've a (C++) solution with a Tools project and a Main project. Main depends on Tools.
I can build this project easily using MSBuild with e.g.
msbuild /t:configuration="Release" Main.sln
The Tools project only have the "Release" and "Debug" configuration. The Main project also have a "Release Lite" configuration - from within Visual Studio I can use the Configuration Manager to have it build Tools using "Release" config and Main using "Release Lite" configuration.
How can I tell msbuild to build Tools using one configuration, and Main using another configuration ?