From a01ec554473dba73beebc9c526cb1aa3a0d49b89 Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Thu, 16 May 2024 09:47:36 -0700 Subject: [PATCH] More logging --- src/Commands/ManifestGen.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Commands/ManifestGen.cs b/src/Commands/ManifestGen.cs index 62f3b0f..b3db66b 100644 --- a/src/Commands/ManifestGen.cs +++ b/src/Commands/ManifestGen.cs @@ -2,9 +2,7 @@ using CliWrap; using Microsoft.Extensions.Logging; using System.Collections.Generic; -using System.Diagnostics; using System.IO; -using System.Linq; using System.Text; namespace AspireManifestGen; @@ -33,7 +31,7 @@ protected override async Task ExecuteAsync(OleMenuCmdEventArgs e, Project projec var options = await General.GetLiveInstanceAsync(); string manifestPath; - string manifestFileName = "manifest.json"; + string manifestFileName = "aspire-manifest.json"; if (options.UseTempFile) { @@ -47,7 +45,7 @@ protected override async Task ExecuteAsync(OleMenuCmdEventArgs e, Project projec await VS.StatusBar.StartAnimationAsync(StatusAnimation.Build); await VS.StatusBar.ShowProgressAsync(STATUS_MESSAGE, 1, 2); await pane.WriteLineAsync(OutputWindowManager.GenerateOutputMessage(STATUS_MESSAGE, "ManifestGen", LogLevel.Information)); - + await pane.WriteLineAsync(OutputWindowManager.GenerateOutputMessage($"Generating using: msbuild /t:GenerateAspireManifest /p:AspireManifestPublishOutputPath={manifestPath}", "ManifestGen", LogLevel.Information)); var result = await Cli.Wrap("dotnet") .WithArguments($"msbuild /t:GenerateAspireManifest /p:AspireManifestPublishOutputPath={manifestPath}") .WithWorkingDirectory(projectPath)