/Project (devenv.exe)
Visual Studio 2010
Identifies a single project within the specified solution configuration to build, clean, rebuild, or deploy.
devenv SolutionName {/build|/clean|/rebuild|/deploy} SolnConfigName
[/project ProjName] [/projectconfig ProjConfigName]
This example builds the project CSharpConsoleApp, using the Debug project build configuration within the Debug solution configuration of MySolution.
devenv "C:\Documents and Settings\someuser\My Documents\Visual Studio\Projects\MySolution\MySolution.sln" /build Debug /project "CSharpWinApp\CSharpWinApp.csproj" /projectconfig Debug