1 write to LaunchConfigurationType
Aspire.Hosting (1)
SupportsDebuggingAnnotation.cs (1)
26
LaunchConfigurationType
= launchConfigurationType;
49 references to LaunchConfigurationType
Aspire.Hosting (17)
ApplicationModel\DebugSupportExtensions.cs (3)
67
return supportsDebuggingAnnotation.
LaunchConfigurationType
== KnownLaunchConfigurationTypes.Project &&
76
return supportedLaunchConfigurations.Contains(supportsDebuggingAnnotation.
LaunchConfigurationType
);
98
&& string.Equals(owner, supportsDebuggingAnnotation.
LaunchConfigurationType
, StringComparison.Ordinal);
ApplicationModel\ExecutableLaunchRecipe.cs (8)
331
activeDebugSupport.
LaunchConfigurationType
,
380
if (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}'.",
496
activeDebugSupport.
LaunchConfigurationType
,
550
!KnownLaunchConfigurationTypes.IsProject(customDebugSupport.
LaunchConfigurationType
))
566
customDebugSupport.
LaunchConfigurationType
,
Dcp\ExecutableLaunchPolicy.cs (5)
39
!KnownLaunchConfigurationTypes.IsProject(debugSupport.
LaunchConfigurationType
)
44
GetLaunchMode(metadataProducer?.
LaunchConfigurationType
),
53
GetLaunchMode(debugSupport.
LaunchConfigurationType
),
71
GetLaunchMode(debugSupport.
LaunchConfigurationType
),
101
debugSupport?.
LaunchConfigurationType
is not null and not KnownLaunchConfigurationTypes.Project)
Dcp\ResourceSnapshotBuilder.cs (1)
244
return annotation.
LaunchConfigurationType
;
Aspire.Hosting.Dotnet (4)
DotnetProjectBuildCoordinator.cs (1)
964
annotation.
LaunchConfigurationType
== KnownLaunchConfigurationTypes.ProjectWithExternalBuild)
DotnetProjectHostingExtensions.cs (3)
382
?.
LaunchConfigurationType
394
&& debugAnnotation.
LaunchConfigurationType
== projectLaunchConfigurationType)
486
&& debugAnnotation.
LaunchConfigurationType
== projectLaunchConfigurationType))
Aspire.Hosting.Dotnet.Tests (10)
DotnetProjectBuildCoordinatorTests.cs (8)
65
Assert.Single(api.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
68
Assert.Single(worker.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
290
Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
315
Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
372
Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
396
Assert.Single(project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>()).
LaunchConfigurationType
);
3851
annotation => annotation.
LaunchConfigurationType
== KnownLaunchConfigurationTypes.ProjectWithExternalBuild);
3890
annotation => annotation.
LaunchConfigurationType
== KnownLaunchConfigurationTypes.ProjectWithExternalBuild);
DotnetProjectResourceTests.cs (2)
488
Assert.Equal("project", annotation.
LaunchConfigurationType
);
650
Assert.Equal(KnownLaunchConfigurationTypes.ProjectWithExternalBuild, supportsDebugging.
LaunchConfigurationType
);
Aspire.Hosting.Java.Tests (2)
AddJavaAppTests.cs (2)
1199
Assert.Equal("java", annotation!.
LaunchConfigurationType
);
1357
Assert.Equal("java", annotation.
LaunchConfigurationType
);
Aspire.Hosting.JavaScript.Tests (7)
AddBunAppTests.cs (2)
313
Assert.Equal("bun", annotation.
LaunchConfigurationType
);
339
Assert.Equal("bun", annotation.
LaunchConfigurationType
);
AddDenoAppTests.cs (2)
2533
Assert.Equal("deno", annotation.
LaunchConfigurationType
);
2559
Assert.Equal("deno", annotation.
LaunchConfigurationType
);
AddNodeAppTests.cs (3)
444
Assert.Equal("node", annotation.
LaunchConfigurationType
);
469
Assert.Equal("node", annotation.
LaunchConfigurationType
);
496
Assert.Equal("browser", annotation.
LaunchConfigurationType
);
Aspire.Hosting.Maui.Tests (2)
MauiPlatformExtensionsTests.cs (2)
168
Assert.Equal("maui", debugSupport.
LaunchConfigurationType
);
464
Assert.Equal("maui", debugSupport.
LaunchConfigurationType
);
Aspire.Hosting.Tests (7)
DebugSupportExtensionsTests.cs (3)
145
Assert.Equal(KnownLaunchConfigurationTypes.Project, debugSupport.
LaunchConfigurationType
);
369
Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.
LaunchConfigurationType
);
405
Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.
LaunchConfigurationType
);
ExecutableResourceBuilderExtensionTests.cs (1)
121
Assert.Equal("ms-python.python", annotation.
LaunchConfigurationType
);
ProjectResourceTests.cs (3)
1034
Assert.Equal("project", annotation.
LaunchConfigurationType
);
1045
Assert.Equal("project", annotation.
LaunchConfigurationType
);
1106
Assert.Equal("project", annotation.
LaunchConfigurationType
);