public override void Run()
{
m_oBuilder.Log("Compiling " + ExpandMacros(m_sProject) + "...\r\n", true);
string arguments =
"\"" + ExpandMacros(m_sProject) + "\" /t:rebuild /p:Configuration=" + ExpandMacros(m_sConfiguration) + "";
ProcessLauncher launcher = new ProcessLauncher();
launcher.Output += new ProcessLauncher.OutputDelegate(launcher_Output);
string output;
int exitCode = launcher.LaunchProcess(m_oBuilder.ExpandMacros(m_oBuilder.ParameterMSBuildPath), arguments, out output);
if (exitCode != 0)
throw new Exception("Failed");
if (output.IndexOf("0 succeeded") >= 0)
throw new Exception("Failed");
}