10 references to LaunchConfigurationsAnnotation
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (1)
1073
exeSpec.AnnotateAsObjectList(Executable.
LaunchConfigurationsAnnotation
, projectLaunchConfiguration);
Dcp\Model\Executable.cs (3)
253
this.Annotate(
LaunchConfigurationsAnnotation
, string.Empty); // Clear existing annotation, if any.
254
this.AnnotateAsObjectList(
LaunchConfigurationsAnnotation
, launchConfiguration);
260
if (this.TryGetAnnotationAsObjectList(
LaunchConfigurationsAnnotation
, out List<ProjectLaunchConfiguration>? launchConfigurations))
SupportsDebuggingAnnotation.cs (1)
31
exe.AnnotateAsObjectList(Executable.
LaunchConfigurationsAnnotation
, launchProfileProducer(mode));
Aspire.Hosting.Tests (5)
Dcp\DcpExecutorTests.cs (4)
1575
Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out var launchConfigs1));
1582
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out _));
1657
Assert.False(debuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out _));
1661
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out _));
ExecutableResourceBuilderExtensionTests.cs (1)
88
Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out var annotations));