private static async Task <String> BuildAnalysisAppAsync(AsyncPackage package, String buildScriptPath) { await OutputHelper.OutputMessageAsync(package, $"Build script \"{SourceCodeAnalysisCommonDefs.AppPrepareFilename}\" is found"); await OutputHelper.OutputMessageAsync(package, $"Build of \"{SourceCodeAnalysisCommonDefs.AppFilename}\" app is started"); ExecutionResult buildResult = await ExecutionHelper.ExecuteBuildAnalysisAppAsync(buildScriptPath); if (buildResult.ExitCode == 0) { await OutputHelper.OutputMessageAsync(package, $"Build of \"{SourceCodeAnalysisCommonDefs.AppFilename}\" app is completed"); return(buildResult.OutputData.Trim()); } await OutputHelper.OutputMessageAsync(package, $"Build of \"{SourceCodeAnalysisCommonDefs.AppFilename}\" app is failed"); await UIHelper.ShowMessageAsync(package, "Build fails of analysis app", $"Build of \"{SourceCodeAnalysisCommonDefs.AppFilename}\" app is failed"); return(null); }