2 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (2)
Dcp\DcpExecutor.cs (1)
1017
var projectLaunchConfiguration = new
ProjectLaunchConfiguration
();
ProjectResourceBuilderExtensions.cs (1)
286
.WithVSCodeDebugSupport(mode => new
ProjectLaunchConfiguration
{ ProjectPath = projectPath, Mode = mode }, "ms-dotnettools.csharp")
15 references to ProjectLaunchConfiguration
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (1)
1017
var
projectLaunchConfiguration = new ProjectLaunchConfiguration();
Dcp\Model\Executable.cs (3)
248
public void SetProjectLaunchConfiguration(
ProjectLaunchConfiguration
launchConfiguration)
257
public bool TryGetProjectLaunchConfiguration([NotNullWhen(true)] out
ProjectLaunchConfiguration
? launchConfiguration)
260
if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<
ProjectLaunchConfiguration
>? launchConfigurations))
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (11)
1302
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1337
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1373
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1409
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1440
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1471
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1501
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1530
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1582
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1657
Assert.False(debuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1661
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));