Ejemplo n.º 1
0
        public static Task <BuildResultAndLogs> RebuildAsync(string projectPath, string projectName = null, IDictionary <string, string> properties = null, ITestOutputHelper testLogger = null)
        {
            var target = string.IsNullOrEmpty(projectName) ? "Rebuild" : projectName.Replace('.', '_') + ":Rebuild";

            return(MSBuild.ExecuteAsync(projectPath, new[] { target }, properties, testLogger));
        }
Ejemplo n.º 2
0
 public static Task <BuildResultAndLogs> ExecuteAsync(string projectPath, string targetToBuild, IDictionary <string, string> properties = null, ITestOutputHelper testLogger = null)
 {
     return(MSBuild.ExecuteAsync(projectPath, new[] { targetToBuild }, properties, testLogger));
 }
Ejemplo n.º 3
0
 public static Task <BuildResultAndLogs> RebuildAsync(string projectPath, IDictionary <string, string> properties = null)
 {
     return(MSBuild.ExecuteAsync(projectPath, new[] { "Rebuild" }, properties));
 }