59 references to KnownLaunchConfigurationTypes
Aspire.Hosting (18)
ApplicationModel\DebugSupportExtensions.cs (2)
39
/// type is <see cref="
KnownLaunchConfigurationTypes
.Project"/> is treated as implicitly supported. File-based
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 (5)
39
!
KnownLaunchConfigurationTypes
.IsProject(debugSupport.LaunchConfigurationType)
62
GetLaunchMode(
KnownLaunchConfigurationTypes
.Project),
101
debugSupport?.LaunchConfigurationType is not null and not
KnownLaunchConfigurationTypes
.Project)
122
&& supportedLaunchConfigurations?.Contains(
KnownLaunchConfigurationTypes
.Project) is true;
127
if (
KnownLaunchConfigurationTypes
.IsProject(launchConfigurationType))
SupportsDebuggingAnnotation.cs (2)
31
/// Gets the launch configuration type identifier, for example <see cref="
KnownLaunchConfigurationTypes
.Project"/>.
38
/// (for example Visual Studio, which does not send one), <see cref="
KnownLaunchConfigurationTypes
.Project"/>
Aspire.Hosting.Dotnet (3)
DotnetProjectBuildCoordinator.cs (2)
223
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild) is true;
721
annotation.LaunchConfigurationType ==
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild)
DotnetProjectHostingExtensions.cs (1)
327
??
KnownLaunchConfigurationTypes
.Project;
Aspire.Hosting.Dotnet.Tests (18)
DotnetProjectBuildCoordinatorTests.cs (13)
57
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild,
60
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild,
271
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.Project]
282
KnownLaunchConfigurationTypes
.Project,
298
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild]
307
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild,
329
KnownLaunchConfigurationTypes
.Project,
343
"supported_launch_configurations": ["{{
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild}}"]
353
KnownLaunchConfigurationTypes
.Project,
1686
Assert.Equal(
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild, launchConfiguration.Type);
3006
annotation => annotation.LaunchConfigurationType ==
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild);
3028
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild]
3043
annotation => annotation.LaunchConfigurationType ==
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild);
DotnetProjectResourceTests.cs (5)
643
Assert.Equal(
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild, supportsDebugging.LaunchConfigurationType);
650
Assert.Equal(
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild, launchConfig.Type);
786
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.ProjectWithExternalBuild]
812
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.Project]
866
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.Project]
Aspire.Hosting.Tests (20)
Dcp\DcpExecutorTests.cs (9)
7228
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, projectLaunchConfiguration.GetProperty("type").GetString());
7372
KnownLaunchConfigurationTypes
.Project,
8063
KnownLaunchConfigurationTypes
.Project);
8092
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, launchConfiguration.Type);
8109
KnownLaunchConfigurationTypes
.Project);
8118
SupportedLaunchConfigurations = [
KnownLaunchConfigurationTypes
.Project]
8138
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, launchConfiguration.Type);
8159
KnownLaunchConfigurationTypes
.Project);
8627
.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 (6)
140
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, debugSupport.LaunchConfigurationType);
155
},
KnownLaunchConfigurationTypes
.Project);
310
KnownLaunchConfigurationTypes
.Project);
360
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, annotation.LaunchConfigurationType);
389
debugSessionInfo: CreateDebugSessionInfo([
KnownLaunchConfigurationTypes
.Project]));
392
Assert.Equal(
KnownLaunchConfigurationTypes
.Project, annotation.LaunchConfigurationType);