72 references to Project
Aspire.Hosting (18)
ApplicationModel\DebugSupportExtensions.cs (8)
52/// non-file-based project through <see cref="KnownLaunchConfigurationTypes.Project"/>. Such a resource represents 55/// A session that provides a list without <see cref="KnownLaunchConfigurationTypes.Project"/> cannot use project 61/// When a session advertises <see cref="KnownLaunchConfigurationTypes.Project"/> but not 64/// <see cref="KnownLaunchConfigurationTypes.Project"/> so the IDE launches and debugs the project. When either 171KnownLaunchConfigurationTypes.Project, 319return declaredAnnotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.Project && 332supportedLaunchConfigurations?.Contains(KnownLaunchConfigurationTypes.Project) is true; 355declaredAnnotation?.LaunchConfigurationType is not null and not 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;
SupportsDebuggingAnnotation.cs (4)
31/// Gets the launch configuration type identifier, for example <see cref="KnownLaunchConfigurationTypes.Project"/>. 38/// launch configuration capability list, <see cref="KnownLaunchConfigurationTypes.Project"/> is treated as 41/// through a synthesized <see cref="KnownLaunchConfigurationTypes.Project"/> launch configuration, for example an 42/// Azure Functions project in an IDE that advertises <see cref="KnownLaunchConfigurationTypes.Project"/> but not
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)
401?? KnownLaunchConfigurationTypes.Project;
Aspire.Hosting.Dotnet.Tests (11)
DotnetProjectBuildCoordinatorTests.cs (9)
288KnownLaunchConfigurationTypes.Project, 342Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfiguration.Type); 363SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 377$"'{KnownLaunchConfigurationTypes.Project}' launch contract for the active IDE session and cannot reliably " + 395SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 406KnownLaunchConfigurationTypes.Project, 430SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 553KnownLaunchConfigurationTypes.Project, 579KnownLaunchConfigurationTypes.Project,
DotnetProjectResourceTests.cs (2)
818SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 872SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project]
Aspire.Hosting.Tests (40)
Dcp\DcpExecutorTests.cs (19)
7686Assert.Equal(KnownLaunchConfigurationTypes.Project, effectiveIdeLaunchAnnotation.LaunchConfigurationType); 7702Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfig.Type); 7726KnownLaunchConfigurationTypes.Project, 7766Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfig.Type); 7785Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfig.Type); 7807Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfig.Type); 7906SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 7952Assert.Equal(KnownLaunchConfigurationTypes.Project, effectiveIdeLaunchAnnotation.LaunchConfigurationType); 8319Assert.Equal(KnownLaunchConfigurationTypes.Project, projectLaunchConfiguration.GetProperty("type").GetString()); 8463KnownLaunchConfigurationTypes.Project, 9195KnownLaunchConfigurationTypes.Project); 9224Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfiguration.Type); 9241KnownLaunchConfigurationTypes.Project); 9250SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 9270Assert.Equal(KnownLaunchConfigurationTypes.Project, launchConfiguration.Type); 9291KnownLaunchConfigurationTypes.Project); 9518Assert.Equal(KnownLaunchConfigurationTypes.Project, projectLaunchConfiguration.GetProperty("type").GetString()), 9838.WithDebugSupport(mode => ProjectLaunchConfigurationFactory.Create(resource, mode), KnownLaunchConfigurationTypes.Project); 12940KnownLaunchConfigurationTypes.Project,
Dcp\ExecutableLaunchPlanTests.cs (4)
334owningLaunchConfigurationType: KnownLaunchConfigurationTypes.Project, 366owningLaunchConfigurationType: KnownLaunchConfigurationTypes.Project, 379SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.Project] 390Assert.Equal(KnownLaunchConfigurationTypes.Project, ideLaunchAnnotation.LaunchConfigurationType);
Dcp\ResourceSnapshotBuilderTests.cs (8)
116[InlineData(KnownLaunchConfigurationTypes.Project, null, true)] 117[InlineData(KnownLaunchConfigurationTypes.Project, "Release", true)] 119[InlineData(KnownLaunchConfigurationTypes.Project, null, false)] 120[InlineData(KnownLaunchConfigurationTypes.Project, "Release", false)] 173[InlineData(KnownLaunchConfigurationTypes.Project)] 189dcpLaunchConfigurationType == KnownLaunchConfigurationTypes.Project 192Type = KnownLaunchConfigurationTypes.Project, 325[InlineData(KnownLaunchConfigurationTypes.Project, true, "/app", "/app/project.csproj")]
DebugSupportExtensionsTests.cs (9)
144Assert.Equal(KnownLaunchConfigurationTypes.Project, debugSupport.LaunchConfigurationType); 161}, KnownLaunchConfigurationTypes.Project); 316KnownLaunchConfigurationTypes.Project); 368Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.LaunchConfigurationType); 401debugSessionInfo: CreateDebugSessionInfo([KnownLaunchConfigurationTypes.Project])); 404Assert.Equal(KnownLaunchConfigurationTypes.Project, annotation.LaunchConfigurationType); 441Assert.Equal(KnownLaunchConfigurationTypes.Project, effectiveAnnotation.LaunchConfigurationType); 462KnownLaunchConfigurationTypes.Project, 488debugSessionInfo: CreateDebugSessionInfo([KnownLaunchConfigurationTypes.Project]));