Custom .NET configuration support implemented

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 9 years ago
parent a0980da5bf
commit 28cfdce5b0
  1. 1
      BuildServer/lib/tasks/dotnetbuild.js
  2. 1
      BuildServer/lib/tasks/dotnetcompile.js
  3. 1
      BuildServer/lib/tasks/dotnetpackwebapp.js
  4. 2
      DotNetBuilder/CompileRequest.cs
  5. 2
      DotNetBuilder/Compiler.cs

@ -24,6 +24,7 @@ module.exports = function (params, processor) {
skipCodeSigning: params.skipCodeSigning,
forceCodeAnalysis: params.forceCodeAnalysis,
ignoreCodeAnalysis: params.ignoreCodeAnalysis,
configuration: params.configuration,
target: "Build"
}
}

@ -7,6 +7,7 @@ module.exports = function (params, processor) {
var compileParams = {
command: "compile",
SolutionPath: processor.context.exported + "/" + params.solution,
Configuration: params.configuration,
Target: params.target,
OutputDirectory: params.overrideOutputDirectory
};

@ -40,6 +40,7 @@ module.exports = function (params, processor) {
solution: "MakePackage.msbuild",
skipCodeSigning: params.skipCodeSigning,
isCodeAnalysisUnsupported: params.isCodeAnalysisUnsupported,
configuration: params.configuration,
target: "Package",
overrideOutputDirectory: processor.context.release
}

@ -6,6 +6,8 @@
public string Target { get; set; }
public string Configuration { get; set; }
public string OutputDirectory { get; set; }
public string SigningKey { get; set; }

@ -76,7 +76,7 @@ namespace MicroBuildServer.DotNetBuilder
var pc = new ProjectCollection();
var globalProperty = new Dictionary<string, string>();
globalProperty.Add("Configuration", "Release");
globalProperty.Add("Configuration", request.Configuration ?? "Release");
globalProperty.Add("Platform", "Any CPU");
globalProperty.Add("VisualStudioVersion", "14.0");
if (!string.IsNullOrEmpty(request.OutputDirectory))

Loading…
Cancel
Save