3 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (3)
Dcp\DcpExecutor.cs (1)
1311
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)
1311
var
projectLaunchConfiguration = new ProjectLaunchConfiguration();
Dcp\Model\Executable.cs (3)
246
public void SetProjectLaunchConfiguration(
ProjectLaunchConfiguration
launchConfiguration)
255
public bool TryGetProjectLaunchConfiguration([NotNullWhen(true)] out
ProjectLaunchConfiguration
? launchConfiguration)
258
if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<
ProjectLaunchConfiguration
>? launchConfigurations))
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (11)
1313
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1348
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1384
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1420
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1451
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1482
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1512
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1541
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1598
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1672
Assert.False(debuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1676
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));