title: Build/Rebuild Project VS 2008 using DTE
body: <p>How can I Build and Rebuild a Project csproj using DTE.ExecuteCommand ?</p>
  
  <p>Any reference of all commands of DTE ?</p>
  
  <p>For solution, I use this:</p>
  
  <pre><code> Logica.BuildTracking.IniciarBuildTrack();
                      proyecto.DTE.ExecuteCommand("Build.RebuildSolution", "");
                      while (!Logica.BuildTracking.BuildFinalizado)
                      {
                          Application.DoEvents();
                          //System.Threading.Thread.Sleep(1000);
                      }
  </code></pre>
  
  <p>I try use this: </p>
  
  <pre><code> // TODO !!!
                      proyecto.DTE.ExecuteCommand("Build.BuildOnlyProject", "");
  </code></pre>
  
  <p>but I get error: "Command \"Build.BuildOnlyProject\" is not available."</p>