private MSBuildRunner BuildSolution(SlnBuilder slnBuilder) { // Building the solution MSBuildParameters msbuildParams; if (suite.HasParameters("msbuild")) msbuildParams = suite.GetParameters<MSBuildParameters>("msbuild"); else msbuildParams = new MSBuildParameters(); var msbuild = msBuildRunnerFactory.CreateMSBuildRunner( slnBuilder, new TargetRelativePath(String.Empty, slnBuilder.Uid + ".sln"), msbuildParams.Version); return msbuild; }
private SlnBuilder GenerateSolutionFile(IEnumerable<Project> prjs) { MSBuildParameters msbuildParams; if (suite.HasParameters("msbuild")) msbuildParams = suite.GetParameters<MSBuildParameters>("msbuild"); else msbuildParams = new MSBuildParameters(); // Generating the solution file return slnBuilderFactory.CreateSlnBuilder(prjs, msbuildParams.Version); }