public CodeFormatterTests(ITestOutputHelper output, MSBuildFixture msBuildFixture, TestProjectsPathFixture testProjectsPathFixture) { _output = output; testProjectsPathFixture.SetCurrentDirectory(); msBuildFixture.RegisterInstance(_output); // For NetStandard projects to resolve framework references, the project.assets.json files must // be constructed by a NuGet restore. ProcessRunner.CreateProcess("dotnet", $"restore \"{CodeStyleSolutionFilePath}\"").Result.GetAwaiter().GetResult(); }
public CodeFormatterTests(ITestOutputHelper output, MSBuildFixture msBuildFixture, TestProjectsPathFixture testProjectsPathFixture) { _output = output; testProjectsPathFixture.SetCurrentDirectory(); msBuildFixture.RegisterInstance(_output); }