31 references to KnownLaunchConfigurationTypes
Aspire.Hosting (16)
ApplicationModel\DebugSupportExtensions.cs (2)
40/// configuration type is <see cref="KnownLaunchConfigurationTypes.Project"/> is treated as implicitly 65return supportsDebuggingAnnotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.Project;
ApplicationModel\ExecutableLaunchConfiguration.cs (2)
65/// <param name="type">The launch configuration type identifier, for example <see cref="KnownLaunchConfigurationTypes.Project"/>.</param> 105public sealed class ProjectLaunchConfiguration() : ExecutableLaunchConfiguration(KnownLaunchConfigurationTypes.Project)
ApplicationModel\ExecutableLaunchRecipe.cs (3)
377if (debugSupport.LaunchConfigurationType is KnownLaunchConfigurationTypes.Project && 544if (context.Decision.DebugSupport is { LaunchConfigurationType: not KnownLaunchConfigurationTypes.Project } customDebugSupport) 599type.GetString() is KnownLaunchConfigurationTypes.Project;
ApplicationModel\ProjectLaunchConfigurationFactory.cs (2)
18$"Resource '{resource.Name}' cannot produce a \"{KnownLaunchConfigurationTypes.Project}\" launch configuration because it has no project metadata. " + 19$"The \"{KnownLaunchConfigurationTypes.Project}\" launch configuration type is reserved for .NET project resources; use a resource that carries {nameof(IProjectMetadata)} or a different launch configuration type.");
Dcp\ExecutableLaunchPolicy.cs (4)
37debugSupport is { LaunchConfigurationType: not KnownLaunchConfigurationTypes.Project } 60GetLaunchMode(KnownLaunchConfigurationTypes.Project), 89debugSupport?.LaunchConfigurationType is not null and not KnownLaunchConfigurationTypes.Project) 107if (launchConfigurationType is KnownLaunchConfigurationTypes.Project)
ProjectResourceBuilderExtensions.cs (1)
509KnownLaunchConfigurationTypes.Project);
SupportsDebuggingAnnotation.cs (2)
31/// Gets the launch configuration type identifier, for example <see cref="KnownLaunchConfigurationTypes.Project"/>. 39/// capability list), <see cref="KnownLaunchConfigurationTypes.Project"/> is treated as implicitly
Aspire.Hosting.Dotnet (3)
DotnetProjectHostingExtensions.cs (3)
137&& debugAnnotation.LaunchConfigurationType is KnownLaunchConfigurationTypes.Project) 173}, ownedByLaunchConfigurationType: KnownLaunchConfigurationTypes.Project); 191&& debugAnnotation.LaunchConfigurationType is KnownLaunchConfigurationTypes.Project))
Aspire.Hosting.Dotnet.Tests (2)
DotnetProjectResourceTests.cs (2)
544Assert.Equal(KnownLaunchConfigurationTypes.Project, supportsDebugging.LaunchConfigurationType); 551Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfig.Type);
Aspire.Hosting.Tests (10)
Dcp\DcpExecutorTests.cs (5)
6425Assert.Equal(KnownLaunchConfigurationTypes.Project, projectLaunchConfiguration.GetProperty("type").GetString()); 6569KnownLaunchConfigurationTypes.Project, 7277Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfiguration.Type); 7298KnownLaunchConfigurationTypes.Project); 7766.WithDebugSupport(mode => ProjectLaunchConfigurationFactory.Create(resource, mode), KnownLaunchConfigurationTypes.Project);
Dcp\ExecutableLaunchPlanTests.cs (1)
129owningLaunchConfigurationType: KnownLaunchConfigurationTypes.Project,
DebugSupportExtensionsTests.cs (4)
135Assert.Equal(KnownLaunchConfigurationTypes.Project, debugSupport.LaunchConfigurationType); 150}, KnownLaunchConfigurationTypes.Project); 305KnownLaunchConfigurationTypes.Project); 355Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.LaunchConfigurationType);