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