1 instantiation of RustCargoLaunchTarget
Aspire.Hosting.Rust (1)
RustHostingExtensions.cs (1)
667
Cargo = new
RustCargoLaunchTarget
17 references to RustCargoLaunchTarget
Aspire.Hosting.Rust (1)
RustLaunchConfiguration.cs (1)
14
public
RustCargoLaunchTarget
? Cargo { get; set; }
Aspire.Hosting.Rust.Tests (16)
RustPublicApiTests.cs (16)
244
var
cargo = Assert.IsType<
RustCargoLaunchTarget
>(launchConfig.Cargo);
259
var
cargo = Assert.IsType<
RustCargoLaunchTarget
>(launchConfig.Cargo);
281
var
cargo = Assert.IsType<
RustCargoLaunchTarget
>(launchConfig.Cargo);
295
var
cargo = Assert.IsType<
RustCargoLaunchTarget
>(launchConfig.Cargo);
326
var
cargo = Assert.IsType<
RustCargoLaunchTarget
>(launchConfig.Cargo);
382
Assert.IsType<
RustCargoLaunchTarget
>(first.Cargo).ExecutablePath);
385
Assert.IsType<
RustCargoLaunchTarget
>(second.Cargo).ExecutablePath);
419
Assert.StartsWith(Path.GetFullPath("/first-target", builder.AppHostDirectory), Assert.IsType<
RustCargoLaunchTarget
>(first.Cargo).ExecutablePath);
420
Assert.StartsWith(Path.GetFullPath("/second-target", builder.AppHostDirectory), Assert.IsType<
RustCargoLaunchTarget
>(second.Cargo).ExecutablePath);
448
Assert.EndsWith(Path.Combine("debug", OperatingSystem.IsWindows() ? "first.exe" : "first"), Assert.IsType<
RustCargoLaunchTarget
>(first.Cargo).ExecutablePath);
449
Assert.EndsWith(Path.Combine("debug", OperatingSystem.IsWindows() ? "second.exe" : "second"), Assert.IsType<
RustCargoLaunchTarget
>(second.Cargo).ExecutablePath);