3 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (3)
Dcp\DcpExecutor.cs (1)
1349
var projectLaunchConfiguration = new
ProjectLaunchConfiguration
();
ProjectResourceBuilderExtensions.cs (2)
289
.WithDebugSupport(mode => new
ProjectLaunchConfiguration
{ ProjectPath = projectPath, Mode = mode }, "ms-dotnettools.csharp")
370
.WithDebugSupport(mode => new
ProjectLaunchConfiguration
{ ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "ms-dotnettools.csharp")
15 references to ProjectLaunchConfiguration
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (1)
1349
var
projectLaunchConfiguration = new ProjectLaunchConfiguration();
Dcp\Model\Executable.cs (3)
263
public void SetProjectLaunchConfiguration(
ProjectLaunchConfiguration
launchConfiguration)
272
public bool TryGetProjectLaunchConfiguration([NotNullWhen(true)] out
ProjectLaunchConfiguration
? launchConfiguration)
275
if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<
ProjectLaunchConfiguration
>? launchConfigurations))
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (11)
1377
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1412
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1448
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1484
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1515
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1546
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1576
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1605
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1662
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1736
Assert.False(debuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1740
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));