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