public void SetUp() { _locator = new ArbiterMSBuildLocator(); _locator.RegisterDefaults(); _logger = new LoggerConfiguration() .WriteTo.InMemory() .MinimumLevel.Warning() .CreateLogger(); _console = new TestConsole(); _fileSystem = new FileSystem(); }
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>(); }