Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer committed May 16, 2024
1 parent 0bc2d4c commit a01ec55
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Commands/ManifestGen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
{
Expand All @@ -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)
Expand Down

0 comments on commit a01ec55

Please sign in to comment.