10 references to LaunchConfigurationsAnnotation
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (1)
1369exeSpec.AnnotateAsObjectList(Executable.LaunchConfigurationsAnnotation, projectLaunchConfiguration);
Dcp\Model\Executable.cs (3)
251this.Annotate(LaunchConfigurationsAnnotation, string.Empty); // Clear existing annotation, if any. 252this.AnnotateAsObjectList(LaunchConfigurationsAnnotation, launchConfiguration); 258if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<ProjectLaunchConfiguration>? launchConfigurations))
SupportsDebuggingAnnotation.cs (1)
30exe.AnnotateAsObjectList(Executable.LaunchConfigurationsAnnotation, launchProfileProducer(mode));
Aspire.Hosting.Tests (5)
Dcp\DcpExecutorTests.cs (4)
1585Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1)); 1592Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1666Assert.False(debuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1670Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _));
ExecutableResourceBuilderExtensionTests.cs (1)
88Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out var annotations));