1 write to LaunchConfigurationType
Aspire.Hosting (1)
SupportsDebuggingAnnotation.cs (1)
26
LaunchConfigurationType
= launchConfigurationType;
59 references to LaunchConfigurationType
Aspire.Hosting (20)
ApplicationModel\DebugSupportExtensions.cs (6)
181
declaredAnnotation?.
LaunchConfigurationType
== AzureFunctionsLaunchConfigurationType);
214
&& string.Equals(owner, supportsDebuggingAnnotation.
LaunchConfigurationType
, StringComparison.Ordinal);
319
return declaredAnnotation.
LaunchConfigurationType
== KnownLaunchConfigurationTypes.Project &&
323
return supportedLaunchConfigurations.Contains(declaredAnnotation.
LaunchConfigurationType
);
355
declaredAnnotation?.
LaunchConfigurationType
is not null and not KnownLaunchConfigurationTypes.Project)
366
if (declaredAnnotation.
LaunchConfigurationType
!= AzureFunctionsLaunchConfigurationType)
ApplicationModel\ExecutableLaunchRecipe.cs (8)
342
activeDebugSupport.
LaunchConfigurationType
,
391
if (KnownLaunchConfigurationTypes.IsProject(debugSupport.
LaunchConfigurationType
) &&
395
$"Resource '{context.Resource.Name}' declares \"{debugSupport.
LaunchConfigurationType
}\" debug launch support (WithDebugSupport) but has no project metadata. " +
396
$"The \"{debugSupport.
LaunchConfigurationType
}\" launch configuration type is reserved for .NET project resources; use a resource that carries {nameof(IProjectMetadata)} or a different launch configuration type.");
430
$"Failed to produce launch configuration type '{debugSupport.
LaunchConfigurationType
}' for resource '{context.Resource.Name}'.",
507
activeDebugSupport.
LaunchConfigurationType
,
562
!KnownLaunchConfigurationTypes.IsProject(customDebugSupport.
LaunchConfigurationType
))
578
customDebugSupport.
LaunchConfigurationType
,
Dcp\ExecutableLaunchPolicy.cs (5)
31
!KnownLaunchConfigurationTypes.IsProject(supportedDeclaredAnnotation.
LaunchConfigurationType
)
36
GetLaunchMode(metadataProducer?.
LaunchConfigurationType
),
47
GetLaunchMode(effectiveDebugSupport.
LaunchConfigurationType
),
59
GetLaunchMode(declaredProducer.
LaunchConfigurationType
),
72
GetLaunchMode(declaredProducer.
LaunchConfigurationType
),
Dcp\ResourceSnapshotBuilder.cs (1)
252
return annotation.
LaunchConfigurationType
;
Aspire.Hosting.Dotnet (4)
DotnetProjectBuildCoordinator.cs (1)
1018
annotation.
LaunchConfigurationType
== KnownLaunchConfigurationTypes.ProjectWithExternalBuild)
DotnetProjectHostingExtensions.cs (3)
400
?.
LaunchConfigurationType
412
&& debugAnnotation.
LaunchConfigurationType
== projectLaunchConfigurationType)
505
&& debugAnnotation.
LaunchConfigurationType
== projectLaunchConfigurationType))
Aspire.Hosting.Dotnet.Tests (11)
DotnetProjectBuildCoordinatorTests.cs (9)
67
Assert.Single(api.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
70
Assert.Single(worker.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
287
Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
405
Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
492
Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
552
Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
578
Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
4033
annotation => annotation.
LaunchConfigurationType
== KnownLaunchConfigurationTypes.ProjectWithExternalBuild);
4072
annotation => annotation.
LaunchConfigurationType
== KnownLaunchConfigurationTypes.ProjectWithExternalBuild);
DotnetProjectResourceTests.cs (2)
488
Assert.Equal("project", annotation.
LaunchConfigurationType
);
650
Assert.Equal(KnownLaunchConfigurationTypes.ProjectWithExternalBuild, supportsDebugging.
LaunchConfigurationType
);
Aspire.Hosting.Java.Tests (2)
AddJavaAppTests.cs (2)
1199
Assert.Equal("java", annotation!.
LaunchConfigurationType
);
1357
Assert.Equal("java", annotation.
LaunchConfigurationType
);
Aspire.Hosting.JavaScript.Tests (7)
AddBunAppTests.cs (2)
313
Assert.Equal("bun", annotation.
LaunchConfigurationType
);
339
Assert.Equal("bun", annotation.
LaunchConfigurationType
);
AddDenoAppTests.cs (2)
2530
Assert.Equal("deno", annotation.
LaunchConfigurationType
);
2556
Assert.Equal("deno", annotation.
LaunchConfigurationType
);
AddNodeAppTests.cs (3)
443
Assert.Equal("node", annotation.
LaunchConfigurationType
);
468
Assert.Equal("node", annotation.
LaunchConfigurationType
);
495
Assert.Equal("browser", annotation.
LaunchConfigurationType
);
Aspire.Hosting.Maui.Tests (2)
MauiPlatformExtensionsTests.cs (2)
168
Assert.Equal("maui", debugSupport.
LaunchConfigurationType
);
464
Assert.Equal("maui", debugSupport.
LaunchConfigurationType
);
Aspire.Hosting.Tests (13)
Dcp\DcpExecutorTests.cs (4)
7583
Assert.Equal(KnownLaunchConfigurationTypes.Project, effectiveIdeLaunchAnnotation.
LaunchConfigurationType
);
7638
Assert.Equal("azure-functions", Assert.IsType<SupportsDebuggingAnnotation>(declaredIdeLaunchAnnotation).
LaunchConfigurationType
);
7849
Assert.Equal(KnownLaunchConfigurationTypes.Project, effectiveIdeLaunchAnnotation.
LaunchConfigurationType
);
9381
Assert.Equal("custom", Assert.IsType<SupportsDebuggingAnnotation>(declaredIdeLaunchAnnotation).
LaunchConfigurationType
);
Dcp\ExecutableLaunchPlanTests.cs (1)
216
Assert.Equal(KnownLaunchConfigurationTypes.Project, ideLaunchAnnotation.
LaunchConfigurationType
);
DebugSupportExtensionsTests.cs (4)
145
Assert.Equal(KnownLaunchConfigurationTypes.Project, debugSupport.
LaunchConfigurationType
);
369
Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.
LaunchConfigurationType
);
405
Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.
LaunchConfigurationType
);
442
Assert.Equal(KnownLaunchConfigurationTypes.Project, effectiveAnnotation.
LaunchConfigurationType
);
ExecutableResourceBuilderExtensionTests.cs (1)
121
Assert.Equal("ms-python.python", annotation.
LaunchConfigurationType
);
ProjectResourceTests.cs (3)
1034
Assert.Equal("project", annotation.
LaunchConfigurationType
);
1045
Assert.Equal("project", annotation.
LaunchConfigurationType
);
1109
Assert.Equal("project", annotation.
LaunchConfigurationType
);