protected void AssertBuildProjectAsync(string projectPath, string projectName, string platform) { // Build solution var result = _fixture.BuildSolution(projectName, projectPath, platform); // Assert Assert.True(result.exitCode.Equals(0), $"Solution {projectName} was not built successfully. {Environment.NewLine}Errors found: {_fixture.GetErrorLines(result.outputFile)}.{Environment.NewLine}Please see {Path.GetFullPath(result.outputFile)} for more details."); // Clean Fs.SafeDeleteDirectory(projectPath); }