46 references to Project
Aspire.Hosting (13)
ApplicationModel\DebugSupportExtensions.cs (2)
40/// type is <see cref="KnownLaunchConfigurationTypes.Project"/> is treated as implicitly supported. File-based 67return supportsDebuggingAnnotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.Project &&
ApplicationModel\ExecutableLaunchConfiguration.cs (3)
61type is Project or ProjectWithExternalBuild; 78/// <param name="type">The launch configuration type identifier, for example <see cref="KnownLaunchConfigurationTypes.Project"/>.</param> 121public sealed class ProjectLaunchConfiguration() : ExecutableLaunchConfiguration(KnownLaunchConfigurationTypes.Project)
ApplicationModel\ProjectLaunchConfigurationFactory.cs (3)
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."); 57: KnownLaunchConfigurationTypes.Project;
Dcp\ExecutableLaunchPolicy.cs (3)
62GetLaunchMode(KnownLaunchConfigurationTypes.Project), 101debugSupport?.LaunchConfigurationType is not null and not KnownLaunchConfigurationTypes.Project) 122&& supportedLaunchConfigurations?.Contains(KnownLaunchConfigurationTypes.Project) is true;
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)
425return supportedLaunchConfigurations.Contains(KnownLaunchConfigurationTypes.Project) 678$"'{KnownLaunchConfigurationTypes.Project}' launch contract for the active IDE session and cannot " +
DotnetProjectHostingExtensions.cs (1)
400?? KnownLaunchConfigurationTypes.Project;
Aspire.Hosting.Dotnet.Tests (11)
DotnetProjectBuildCoordinatorTests.cs (9)
280KnownLaunchConfigurationTypes.Project, 334Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfiguration.Type); 355SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 369$"'{KnownLaunchConfigurationTypes.Project}' launch contract for the active IDE session and cannot reliably " + 387SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 398KnownLaunchConfigurationTypes.Project, 422SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 545KnownLaunchConfigurationTypes.Project, 571KnownLaunchConfigurationTypes.Project,
DotnetProjectResourceTests.cs (2)
819SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 873SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project]
Aspire.Hosting.Tests (19)
Dcp\DcpExecutorTests.cs (9)
7912Assert.Equal(KnownLaunchConfigurationTypes.Project, projectLaunchConfiguration.GetProperty("type").GetString()); 8056KnownLaunchConfigurationTypes.Project, 8747KnownLaunchConfigurationTypes.Project); 8776Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfiguration.Type); 8793KnownLaunchConfigurationTypes.Project); 8802SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 8822Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfiguration.Type); 8843KnownLaunchConfigurationTypes.Project); 9311.WithDebugSupport(mode => ProjectLaunchConfigurationFactory.Create(resource, mode), KnownLaunchConfigurationTypes.Project);
Dcp\ExecutableLaunchPlanTests.cs (1)
160owningLaunchConfigurationType: KnownLaunchConfigurationTypes.Project,
Dcp\ResourceSnapshotBuilderTests.cs (3)
116[InlineData(KnownLaunchConfigurationTypes.Project, null)] 117[InlineData(KnownLaunchConfigurationTypes.Project, "Release")] 262[InlineData(KnownLaunchConfigurationTypes.Project, true, "/app", "/app/project.csproj")]
DebugSupportExtensionsTests.cs (6)
145Assert.Equal(KnownLaunchConfigurationTypes.Project, debugSupport.LaunchConfigurationType); 162}, KnownLaunchConfigurationTypes.Project); 317KnownLaunchConfigurationTypes.Project); 369Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.LaunchConfigurationType); 402debugSessionInfo: CreateDebugSessionInfo([KnownLaunchConfigurationTypes.Project])); 405Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.LaunchConfigurationType);