1 write to LaunchConfigurationType
Aspire.Hosting (1)
SupportsDebuggingAnnotation.cs (1)
26LaunchConfigurationType = launchConfigurationType;
49 references to LaunchConfigurationType
Aspire.Hosting (17)
ApplicationModel\DebugSupportExtensions.cs (3)
64return supportsDebuggingAnnotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.Project && 73return supportedLaunchConfigurations.Contains(supportsDebuggingAnnotation.LaunchConfigurationType); 95&& string.Equals(owner, supportsDebuggingAnnotation.LaunchConfigurationType, StringComparison.Ordinal);
ApplicationModel\ExecutableLaunchRecipe.cs (8)
325activeDebugSupport.LaunchConfigurationType, 377if (KnownLaunchConfigurationTypes.IsProject(debugSupport.LaunchConfigurationType) && 381$"Resource '{context.Resource.Name}' declares \"{debugSupport.LaunchConfigurationType}\" debug launch support (WithDebugSupport) but has no project metadata. " + 382$"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."); 416$"Failed to produce launch configuration type '{debugSupport.LaunchConfigurationType}' for resource '{context.Resource.Name}'.", 492activeDebugSupport.LaunchConfigurationType, 545!KnownLaunchConfigurationTypes.IsProject(customDebugSupport.LaunchConfigurationType)) 561customDebugSupport.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)
234return annotation.LaunchConfigurationType;
Aspire.Hosting.Dotnet (4)
DotnetProjectBuildCoordinator.cs (1)
721annotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.ProjectWithExternalBuild)
DotnetProjectHostingExtensions.cs (3)
326?.LaunchConfigurationType 338&& debugAnnotation.LaunchConfigurationType == projectLaunchConfigurationType) 429&& debugAnnotation.LaunchConfigurationType == projectLaunchConfigurationType))
Aspire.Hosting.Dotnet.Tests (10)
DotnetProjectBuildCoordinatorTests.cs (8)
58Assert.Single(api.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 61Assert.Single(worker.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 283Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 308Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 330Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 354Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).LaunchConfigurationType); 3006annotation => annotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.ProjectWithExternalBuild); 3043annotation => annotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.ProjectWithExternalBuild);
DotnetProjectResourceTests.cs (2)
514Assert.Equal("project", annotation.LaunchConfigurationType); 643Assert.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)
315Assert.Equal("bun", annotation.LaunchConfigurationType); 341Assert.Equal("bun", annotation.LaunchConfigurationType);
AddDenoAppTests.cs (2)
2534Assert.Equal("deno", annotation.LaunchConfigurationType); 2560Assert.Equal("deno", annotation.LaunchConfigurationType);
AddNodeAppTests.cs (3)
446Assert.Equal("node", annotation.LaunchConfigurationType); 471Assert.Equal("node", annotation.LaunchConfigurationType); 498Assert.Equal("browser", annotation.LaunchConfigurationType);
Aspire.Hosting.Maui.Tests (2)
MauiPlatformExtensionsTests.cs (2)
169Assert.Equal("maui", debugSupport.LaunchConfigurationType); 465Assert.Equal("maui", debugSupport.LaunchConfigurationType);
Aspire.Hosting.Tests (7)
DebugSupportExtensionsTests.cs (3)
140Assert.Equal(KnownLaunchConfigurationTypes.Project, debugSupport.LaunchConfigurationType); 360Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.LaunchConfigurationType); 392Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.LaunchConfigurationType);
ExecutableResourceBuilderExtensionTests.cs (1)
121Assert.Equal("ms-python.python", annotation.LaunchConfigurationType);
ProjectResourceTests.cs (3)
1006Assert.Equal("project", annotation.LaunchConfigurationType); 1017Assert.Equal("project", annotation.LaunchConfigurationType); 1028Assert.Equal("project", annotation.LaunchConfigurationType);