1 write to LaunchConfigurationType
Aspire.Hosting (1)
SupportsDebuggingAnnotation.cs (1)
26LaunchConfigurationType = launchConfigurationType;
49 references to LaunchConfigurationType
Aspire.Hosting (17)
ApplicationModel\DebugSupportExtensions.cs (3)
67return supportsDebuggingAnnotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.Project && 76return supportedLaunchConfigurations.Contains(supportsDebuggingAnnotation.LaunchConfigurationType); 98&& string.Equals(owner, supportsDebuggingAnnotation.LaunchConfigurationType, StringComparison.Ordinal);
ApplicationModel\ExecutableLaunchRecipe.cs (8)
331activeDebugSupport.LaunchConfigurationType, 380if (KnownLaunchConfigurationTypes.IsProject(debugSupport.LaunchConfigurationType) && 384$"Resource '{context.Resource.Name}' declares \"{debugSupport.LaunchConfigurationType}\" debug launch support (WithDebugSupport) but has no project metadata. " + 385$"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."); 419$"Failed to produce launch configuration type '{debugSupport.LaunchConfigurationType}' for resource '{context.Resource.Name}'.", 496activeDebugSupport.LaunchConfigurationType, 550!KnownLaunchConfigurationTypes.IsProject(customDebugSupport.LaunchConfigurationType)) 566customDebugSupport.LaunchConfigurationType,
Dcp\ExecutableLaunchPolicy.cs (5)
39!KnownLaunchConfigurationTypes.IsProject(debugSupport.LaunchConfigurationType) 44GetLaunchMode(metadataProducer?.LaunchConfigurationType), 53GetLaunchMode(debugSupport.LaunchConfigurationType), 71GetLaunchMode(debugSupport.LaunchConfigurationType), 101debugSupport?.LaunchConfigurationType is not null and not KnownLaunchConfigurationTypes.Project)
Dcp\ResourceSnapshotBuilder.cs (1)
244return annotation.LaunchConfigurationType;
Aspire.Hosting.Dotnet (4)
DotnetProjectBuildCoordinator.cs (1)
964annotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.ProjectWithExternalBuild)
DotnetProjectHostingExtensions.cs (3)
382?.LaunchConfigurationType 394&& debugAnnotation.LaunchConfigurationType == projectLaunchConfigurationType) 486&& debugAnnotation.LaunchConfigurationType == projectLaunchConfigurationType))
Aspire.Hosting.Dotnet.Tests (10)
DotnetProjectBuildCoordinatorTests.cs (8)
65Assert.Single(api.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 68Assert.Single(worker.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 290Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 315Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 372Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 396Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 3851annotation => annotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.ProjectWithExternalBuild); 3890annotation => 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)
2533Assert.Equal("deno", annotation.LaunchConfigurationType); 2559Assert.Equal("deno", annotation.LaunchConfigurationType);
AddNodeAppTests.cs (3)
444Assert.Equal("node", annotation.LaunchConfigurationType); 469Assert.Equal("node", annotation.LaunchConfigurationType); 496Assert.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 (7)
DebugSupportExtensionsTests.cs (3)
145Assert.Equal(KnownLaunchConfigurationTypes.Project, debugSupport.LaunchConfigurationType); 369Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.LaunchConfigurationType); 405Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.LaunchConfigurationType);
ExecutableResourceBuilderExtensionTests.cs (1)
121Assert.Equal("ms-python.python", annotation.LaunchConfigurationType);
ProjectResourceTests.cs (3)
1034Assert.Equal("project", annotation.LaunchConfigurationType); 1045Assert.Equal("project", annotation.LaunchConfigurationType); 1106Assert.Equal("project", annotation.LaunchConfigurationType);