Beispiel #1
0
 /// <summary>
 /// Tries to build all projects that define the specified profile.
 /// </summary>
 /// <param name="profile">The name of the profile to build.</param>
 /// <param name="additionalArguments">The additional arguments passed to MSBuild.</param>
 public static void TryBuildAllProjects(string profile, string additionalArguments = "")
 {
     try
     {
         MSBuildProjectBuilder.BuildAllProjects(profile, additionalArguments);
     }
     catch (OperationCanceledException)
     {
         Debug.LogWarning("Canceled building MSBuild projects.");
     }
 }
 private static void RebuildAllProjects()
 {
     try
     {
         MSBuildProjectBuilder.BuildAllProjects(MSBuildProjectBuilder.RebuildTargetArgument);
     }
     catch (OperationCanceledException)
     {
         Debug.LogWarning("Canceled building MSBuild projects.");
     }
 }