public void SetUp() { // Ensure a clean working directory. Debugging could have left this dirty. var locator = new ArbiterMSBuildLocator(); locator.RegisterDefaults(); locator.Clean(); var container = ContainerHelper.ConfigureContainer().WithRealFileSystem().Build(); _analyzer = container.Resolve <MSBuildSolutionAnalyzer>(); }
public void TearDown() { // Always clean in case there is dirty state left over from a failed test or setup. _locator.Clean(); InMemorySink.Instance.Dispose(); }