상속: IProjectParameters
예제 #1
0
        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;
        }
예제 #2
0
        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);
        }