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