10 references to LaunchConfigurationsAnnotation
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (1)
1412
exe.AnnotateAsObjectList(Executable.
LaunchConfigurationsAnnotation
, projectLaunchConfiguration);
Dcp\Model\Executable.cs (3)
274
this.Annotate(
LaunchConfigurationsAnnotation
, string.Empty); // Clear existing annotation, if any.
275
this.AnnotateAsObjectList(
LaunchConfigurationsAnnotation
, launchConfiguration);
281
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)
1659
Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out var launchConfigs1));
1666
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out _));
1740
Assert.False(debuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out _));
1744
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out _));
ExecutableResourceBuilderExtensionTests.cs (1)
88
Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out var annotations));