Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Initial test for running MSBuild w/ custom task
public void TestMethod1()
var process = new Process
StartInfo =
FileName = @"C:\Program Files (x86)\MSBuild\12.0\bin\MSBuild.exe",
Arguments = @"..\..\my.proj /v:m /nologo",
UseShellExecute = false,
RedirectStandardOutput = true,
var result = process.StandardOutput.ReadToEnd();
const string expected = "";
Assert.AreEqual(expected, result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment