display run logs in terminal

This commit is contained in:
Matt Parker
2025-08-09 23:52:41 +10:00
parent ff23f39591
commit 58b6261264
4 changed files with 128 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
using Microsoft.Build.Evaluation;
using System.Threading.Channels;
using Microsoft.Build.Evaluation;
namespace SharpIDE.Application.Features.SolutionDiscovery.VsPersistence;
@@ -37,4 +38,7 @@ public class SharpIdeProjectModel : ISharpIdeNode
public bool IsRunnable => MsBuildEvaluationProject.Xml.Sdk is "Microsoft.NET.Sdk.BlazorWebAssembly" || MsBuildEvaluationProject.GetPropertyValue("OutputType") is "Exe" or "WinExe";
public bool OpenInRunPanel { get; set; }
public Channel<string>? RunningOutputChannel { get; set; }
public event Func<Task> ProjectStartedRunning = () => Task.CompletedTask;
public void InvokeProjectStartedRunning() => ProjectStartedRunning?.Invoke();
}