51 references to KnownLaunchConfigurationTypes
Aspire.Hosting (17)
ApplicationModel\DebugSupportExtensions.cs (2)
39
/// configuration type is <see cref="
KnownLaunchConfigurationTypes
.Project"/> is treated as implicitly
64
return supportsDebuggingAnnotation.LaunchConfigurationType ==
KnownLaunchConfigurationTypes
.Project;
ApplicationModel\ExecutableLaunchConfiguration.cs (2)
77
/// <param name="type">The launch configuration type identifier, for example <see cref="
KnownLaunchConfigurationTypes
.Project"/>.</param>
119
public sealed class ProjectLaunchConfiguration() : ExecutableLaunchConfiguration(
KnownLaunchConfigurationTypes
.Project)
ApplicationModel\ExecutableLaunchRecipe.cs (3)
377
if (
KnownLaunchConfigurationTypes
.IsProject(debugSupport.LaunchConfigurationType) &&
545
!
KnownLaunchConfigurationTypes
.IsProject(customDebugSupport.LaunchConfigurationType))
600
KnownLaunchConfigurationTypes
.IsProject(type.GetString());
ApplicationModel\ProjectLaunchConfigurationFactory.cs (4)
19
$"Resource '{resource.Name}' cannot produce a \"{
KnownLaunchConfigurationTypes
.Project}\" launch configuration because it has no project metadata. " +
20
$"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.");
56
?
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild
57
:
KnownLaunchConfigurationTypes
.Project;
Dcp\ExecutableLaunchPolicy.cs (4)
38
!
KnownLaunchConfigurationTypes
.IsProject(debugSupport.LaunchConfigurationType)
61
GetLaunchMode(
KnownLaunchConfigurationTypes
.Project),
90
debugSupport?.LaunchConfigurationType is not null and not
KnownLaunchConfigurationTypes
.Project)
108
if (
KnownLaunchConfigurationTypes
.IsProject(launchConfigurationType))
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)
DotnetProjectBuildCoordinator.cs (2)
218
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild) is true;
629
annotation.LaunchConfigurationType ==
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild)
DotnetProjectHostingExtensions.cs (1)
278
??
KnownLaunchConfigurationTypes
.Project;
Aspire.Hosting.Dotnet.Tests (17)
DotnetProjectBuildCoordinatorTests.cs (13)
53
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild,
56
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild,
95
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.Project]
105
KnownLaunchConfigurationTypes
.Project,
121
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild]
130
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild,
152
KnownLaunchConfigurationTypes
.Project,
166
"supported_launch_configurations": ["{{
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild}}"]
176
KnownLaunchConfigurationTypes
.Project,
1155
Assert.Equal(
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild, launchConfiguration.Type);
2356
annotation => annotation.LaunchConfigurationType ==
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild);
2378
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild]
2393
annotation => annotation.LaunchConfigurationType ==
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild);
DotnetProjectResourceTests.cs (4)
579
Assert.Equal(
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild, supportsDebugging.LaunchConfigurationType);
586
Assert.Equal(
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild, launchConfig.Type);
722
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild]
748
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.Project]
Aspire.Hosting.Tests (14)
Dcp\DcpExecutorTests.cs (5)
6615
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, projectLaunchConfiguration.GetProperty("type").GetString());
6759
KnownLaunchConfigurationTypes
.Project,
7467
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, launchConfiguration.Type);
7488
KnownLaunchConfigurationTypes
.Project);
7956
.WithDebugSupport(mode => ProjectLaunchConfigurationFactory.Create(resource, mode),
KnownLaunchConfigurationTypes
.Project);
Dcp\ExecutableLaunchPlanTests.cs (5)
103
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild,
112
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild]
123
$"Resource 'app' declares \"{
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild}\" debug launch support (WithDebugSupport) but has no project metadata. " +
124
$"The \"{
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild}\" launch configuration type is reserved for .NET project resources; use a resource that carries IProjectMetadata or a different launch configuration type.",
160
owningLaunchConfigurationType:
KnownLaunchConfigurationTypes
.Project,
DebugSupportExtensionsTests.cs (4)
139
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, debugSupport.LaunchConfigurationType);
154
},
KnownLaunchConfigurationTypes
.Project);
309
KnownLaunchConfigurationTypes
.Project);
359
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, annotation.LaunchConfigurationType);