Create a gist now

Instantly share code, notes, and snippets.

Execute my test project in-proc
var myProject = new ProjectInstance(@"..\..\my.proj");
var logger = new HighImportanceStringLogger();
var success = myProject.Build(new[] { logger });
Assert.IsTrue(success);
const string expected = @"Inputs:
Foo = hi
";
Assert.AreEqual(expected, logger.ToString());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment