4 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (1)
1344var projectLaunchConfiguration = new ProjectLaunchConfiguration();
ProjectResourceBuilderExtensions.cs (3)
248.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "project") 293.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = projectPath, Mode = mode }, "project") 374.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "project")
15 references to ProjectLaunchConfiguration
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (1)
1344var projectLaunchConfiguration = new ProjectLaunchConfiguration();
Dcp\Model\Executable.cs (3)
269public void SetProjectLaunchConfiguration(ProjectLaunchConfiguration launchConfiguration) 278public bool TryGetProjectLaunchConfiguration([NotNullWhen(true)] out ProjectLaunchConfiguration? launchConfiguration) 281if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<ProjectLaunchConfiguration>? launchConfigurations))
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (11)
1417Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1452Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1488Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1524Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1555Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1586Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1616Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1645Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1702Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1776Assert.False(debuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1780Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _));