2 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (2)
Dcp\DcpExecutor.cs (1)
1017var 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)
1017var projectLaunchConfiguration = new ProjectLaunchConfiguration();
Dcp\Model\Executable.cs (3)
248public void SetProjectLaunchConfiguration(ProjectLaunchConfiguration launchConfiguration) 257public bool TryGetProjectLaunchConfiguration([NotNullWhen(true)] out ProjectLaunchConfiguration? launchConfiguration) 260if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<ProjectLaunchConfiguration>? launchConfigurations))
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (11)
1302Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1337Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1373Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1409Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1440Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1471Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1501Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1530Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1582Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1657Assert.False(debuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1661Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _));