Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Execute my test project in-proc
var myProject = new ProjectInstance(@"..\..\my.proj");
var logger = new HighImportanceStringLogger();
var success = myProject.Build(new[] { logger });
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