4 writes to AppHostPath
Aspire.Tray.Tests (4)
CliProtocolTests.cs (4)
120Host(0), Host(-1), Host(42) with { AppHostPath = "relative" }, 122Host(42) with { AppHostPath = Path.GetFullPath("apphost.cs") + "\0" } 129Assert.Throws<CliProtocolException>(() => Parse(Snapshot(Host(42), Host(42) with { AppHostPath = Path.GetFullPath("other.cs") }))); 175AppHostPath = Path.GetFullPath("sample/apphost.cs"),
4 references to AppHostPath
Aspire.Tray.Tests (4)
src\Aspire.Tray\Common\CliProtocol.cs (4)
40if (item is null || string.IsNullOrWhiteSpace(item.AppHostPath) 41|| !Path.IsPathFullyQualified(item.AppHostPath) || item.AppHostPath.Contains('\0') 46var host = new AppHostInfo(item.AppHostPath, item.AppHostPid, item.DashboardUrl)