<pre><code>devenv mysolution.sln /build "Release|Win32" /project myproject
</code></pre>

<p>When building from the command line, it seems I have the option of doing a <code>/build</code> or <code>/rebuild</code>, but no way of saying I want to do "project only" (i.e. not build or rebuild the specified project's dependencies as well). Does anyone know of a way?</p>

Don't call
```
devenv
```
, use the genericized build tool instead:
```
```
vcbuild subproject.vcproj "release|win32"
```
```