3 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (3)
Dcp\DcpExecutor.cs (1)
1349var 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)
1349var projectLaunchConfiguration = new ProjectLaunchConfiguration();
Dcp\Model\Executable.cs (3)
263public void SetProjectLaunchConfiguration(ProjectLaunchConfiguration launchConfiguration) 272public bool TryGetProjectLaunchConfiguration([NotNullWhen(true)] out ProjectLaunchConfiguration? launchConfiguration) 275if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<ProjectLaunchConfiguration>? launchConfigurations))
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (11)
1377Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1412Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1448Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1484Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1515Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1546Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1576Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1605Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1662Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1736Assert.False(debuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1740Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _));