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