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
171
KnownLaunchConfigurationTypes.
Project
,
319
return declaredAnnotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.
Project
&&
332
supportedLaunchConfigurations?.Contains(KnownLaunchConfigurationTypes.
Project
) is true;
355
declaredAnnotation?.LaunchConfigurationType is not null and not KnownLaunchConfigurationTypes.
Project
)
ApplicationModel\ExecutableLaunchConfiguration.cs (3)
61
type is
Project
or ProjectWithExternalBuild;
78
/// <param name="type">The launch configuration type identifier, for example <see cref="KnownLaunchConfigurationTypes.
Project
"/>.</param>
121
public 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)
425
return 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)
288
KnownLaunchConfigurationTypes.
Project
,
342
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, launchConfiguration.Type);
363
SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.
Project
]
377
$"'{KnownLaunchConfigurationTypes.
Project
}' launch contract for the active IDE session and cannot reliably " +
395
SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.
Project
]
406
KnownLaunchConfigurationTypes.
Project
,
430
SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.
Project
]
553
KnownLaunchConfigurationTypes.
Project
,
579
KnownLaunchConfigurationTypes.
Project
,
DotnetProjectResourceTests.cs (2)
818
SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.
Project
]
872
SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.
Project
]
Aspire.Hosting.Tests (40)
Dcp\DcpExecutorTests.cs (19)
7686
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, effectiveIdeLaunchAnnotation.LaunchConfigurationType);
7702
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, launchConfig.Type);
7726
KnownLaunchConfigurationTypes.
Project
,
7766
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, launchConfig.Type);
7785
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, launchConfig.Type);
7807
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, launchConfig.Type);
7906
SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.
Project
]
7952
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, effectiveIdeLaunchAnnotation.LaunchConfigurationType);
8319
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, projectLaunchConfiguration.GetProperty("type").GetString());
8463
KnownLaunchConfigurationTypes.
Project
,
9195
KnownLaunchConfigurationTypes.
Project
);
9224
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, launchConfiguration.Type);
9241
KnownLaunchConfigurationTypes.
Project
);
9250
SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.
Project
]
9270
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, launchConfiguration.Type);
9291
KnownLaunchConfigurationTypes.
Project
);
9518
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, projectLaunchConfiguration.GetProperty("type").GetString()),
9838
.WithDebugSupport(mode => ProjectLaunchConfigurationFactory.Create(resource, mode), KnownLaunchConfigurationTypes.
Project
);
12940
KnownLaunchConfigurationTypes.
Project
,
Dcp\ExecutableLaunchPlanTests.cs (4)
334
owningLaunchConfigurationType: KnownLaunchConfigurationTypes.
Project
,
366
owningLaunchConfigurationType: KnownLaunchConfigurationTypes.
Project
,
379
SupportedLaunchConfigurations = [KnownLaunchConfigurationTypes.
Project
]
390
Assert.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
)]
189
dcpLaunchConfigurationType == KnownLaunchConfigurationTypes.
Project
192
Type = KnownLaunchConfigurationTypes.
Project
,
325
[InlineData(KnownLaunchConfigurationTypes.
Project
, true, "/app", "/app/project.csproj")]
DebugSupportExtensionsTests.cs (9)
144
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, debugSupport.LaunchConfigurationType);
161
}, KnownLaunchConfigurationTypes.
Project
);
316
KnownLaunchConfigurationTypes.
Project
);
368
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, annotation.LaunchConfigurationType);
401
debugSessionInfo: CreateDebugSessionInfo([KnownLaunchConfigurationTypes.
Project
]));
404
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, annotation.LaunchConfigurationType);
441
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, effectiveAnnotation.LaunchConfigurationType);
462
KnownLaunchConfigurationTypes.
Project
,
488
debugSessionInfo: CreateDebugSessionInfo([KnownLaunchConfigurationTypes.
Project
]));