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