|
|
@ -95,6 +95,11 @@ namespace MicroBuildServer.DotNetBuilder |
|
|
|
globalProperty.Add("MBSBuilderPath", BuilderAssemblyDirectory); |
|
|
|
globalProperty.Add("MBSBuilderPath", BuilderAssemblyDirectory); |
|
|
|
globalProperty.Add("CustomBeforeMicrosoftCSharpTargets", Path.Combine(BuilderAssemblyDirectory, "ImportStyleCop.targets")); |
|
|
|
globalProperty.Add("CustomBeforeMicrosoftCSharpTargets", Path.Combine(BuilderAssemblyDirectory, "ImportStyleCop.targets")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
globalProperty.Add("RunCodeAnalysis", "false"); |
|
|
|
|
|
|
|
globalProperty.Add("CodeAnalysisRuleSet", string.Empty); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var buildRequest = new BuildRequestData(request.SolutionPath, globalProperty, "14.0", new [] { request.Target }, null); |
|
|
|
var buildRequest = new BuildRequestData(request.SolutionPath, globalProperty, "14.0", new [] { request.Target }, null); |
|
|
|
|
|
|
|
|
|
|
|