FinalizeProjects() public method

public FinalizeProjects ( bool emitAssemblyList, Federation federation, Folder solutionExplorerRoot = null ) : void
emitAssemblyList bool
federation Federation
solutionExplorerRoot Folder
return void
示例#1
0
 private static void FinalizeProjects(bool emitAssemblyList, Federation federation)
 {
     GenerateLooseFilesProject(Constants.MSBuildFiles, Paths.SolutionDestinationFolder);
     GenerateLooseFilesProject(Constants.TypeScriptFiles, Paths.SolutionDestinationFolder);
     using (Disposable.Timing("Finalizing references"))
     {
         try
         {
             var solutionFinalizer = new SolutionFinalizer(Paths.SolutionDestinationFolder);
             solutionFinalizer.FinalizeProjects(emitAssemblyList, federation, mergedSolutionExplorerRoot);
         }
         catch (Exception ex)
         {
             Log.Exception(ex, "Failure while finalizing projects");
         }
     }
 }
示例#2
0
 private static void FinalizeProjects(bool emitAssemblyList)
 {
     GenerateLooseFilesProject(Constants.MSBuildFiles, Paths.SolutionDestinationFolder);
     GenerateLooseFilesProject(Constants.TypeScriptFiles, Paths.SolutionDestinationFolder);
     using (Disposable.Timing("Finalizing references"))
     {
         try
         {
             var solutionFinalizer = new SolutionFinalizer(Paths.SolutionDestinationFolder);
             solutionFinalizer.FinalizeProjects(emitAssemblyList, mergedSolutionExplorerRoot);
         }
         catch (Exception ex)
         {
             Log.Exception(ex, "Failure while finalizing projects");
         }
     }
 }
 private static void FinalizeProjects(IDictionary<string,string> extraArgs)
 {
     GenerateLooseFilesProject(Constants.MSBuildFiles, Paths.SolutionDestinationFolder);
     GenerateLooseFilesProject(Constants.TypeScriptFiles, Paths.SolutionDestinationFolder);
     using (Disposable.Timing("Finalizing references"))
     {
         try
         {
             var solutionFinalizer = new SolutionFinalizer(Paths.SolutionDestinationFolder);
             solutionFinalizer.FinalizeProjects(mergedSolutionExplorerRoot, extraArgs);
         }
         catch (Exception ex)
         {
             Log.Exception(ex, "Failure while finalizing projects");
         }
     }
 }
示例#4
0
 private static void FinalizeProjects(IDictionary <string, string> extraArgs)
 {
     GenerateLooseFilesProject(Constants.MSBuildFiles, Paths.SolutionDestinationFolder);
     GenerateLooseFilesProject(Constants.TypeScriptFiles, Paths.SolutionDestinationFolder);
     using (Disposable.Timing("Finalizing references"))
     {
         try
         {
             var solutionFinalizer = new SolutionFinalizer(Paths.SolutionDestinationFolder);
             solutionFinalizer.FinalizeProjects(mergedSolutionExplorerRoot, extraArgs);
         }
         catch (Exception ex)
         {
             Log.Exception(ex, "Failure while finalizing projects");
         }
     }
 }
示例#5
0
        public static void FinalizeProjects(bool emitAssemblyList = true)
        {
            GenerateLooseFilesProject(Constants.MSBuildFiles, Paths.SolutionDestinationFolder);
            GenerateLooseFilesProject(Constants.TypeScriptFiles, Paths.SolutionDestinationFolder);
            using (Disposable.Timing("Finalizing references"))
            {
                SolutionFinalizer solutionFinalizer = null;
                bool error = false;
                try
                {
                    solutionFinalizer = new SolutionFinalizer(Paths.SolutionDestinationFolder);
                    solutionFinalizer.FinalizeProjects(emitAssemblyList, mergedSolutionExplorerRoot);
                }
                catch (Exception ex)
                {
                    error = true;
                    Log.Exception(ex, "Failure while finalizing projects");
                }

                Extend.ExtendGenerator.Finalize(solutionFinalizer, mergedSolutionExplorerRoot, error);
            }
        }