1 write to ExecutablePath
Aspire.Hosting.Rust (1)
RustHostingExtensions.cs (1)
673ExecutablePath = executablePath
8 references to ExecutablePath
Aspire.Hosting.Rust.Tests (8)
RustPublicApiTests.cs (8)
298Assert.Equal(expected, cargo.ExecutablePath); 333Assert.Equal(expected, cargo.ExecutablePath); 382Assert.IsType<RustCargoLaunchTarget>(first.Cargo).ExecutablePath); 385Assert.IsType<RustCargoLaunchTarget>(second.Cargo).ExecutablePath); 419Assert.StartsWith(Path.GetFullPath("/first-target", builder.AppHostDirectory), Assert.IsType<RustCargoLaunchTarget>(first.Cargo).ExecutablePath); 420Assert.StartsWith(Path.GetFullPath("/second-target", builder.AppHostDirectory), Assert.IsType<RustCargoLaunchTarget>(second.Cargo).ExecutablePath); 448Assert.EndsWith(Path.Combine("debug", OperatingSystem.IsWindows() ? "first.exe" : "first"), Assert.IsType<RustCargoLaunchTarget>(first.Cargo).ExecutablePath); 449Assert.EndsWith(Path.Combine("debug", OperatingSystem.IsWindows() ? "second.exe" : "second"), Assert.IsType<RustCargoLaunchTarget>(second.Cargo).ExecutablePath);