13 references to LaunchConfigurationsAnnotation
Aspire.Hosting (7)
Dcp\DcpExecutor.cs (3)
1493exe.AnnotateAsObjectList(Executable.LaunchConfigurationsAnnotation, projectLaunchConfiguration); 1544exe.AnnotateAsObjectList(Executable.LaunchConfigurationsAnnotation, projectLaunchConfiguration); 1888exe.Annotate(Executable.LaunchConfigurationsAnnotation, string.Empty);
Dcp\Model\Executable.cs (3)
274this.Annotate(LaunchConfigurationsAnnotation, string.Empty); // Clear existing annotation, if any. 275this.AnnotateAsObjectList(LaunchConfigurationsAnnotation, launchConfiguration); 281if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<ProjectLaunchConfiguration>? launchConfigurations))
SupportsDebuggingAnnotation.cs (1)
30exe.AnnotateAsObjectList(Executable.LaunchConfigurationsAnnotation, launchProfileProducer(mode));
Aspire.Hosting.Tests (6)
Dcp\DcpExecutorTests.cs (5)
1729Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1)); 1736Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1810Assert.False(debuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1814Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 2437Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs));
ExecutableResourceBuilderExtensionTests.cs (1)
89Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var annotations));