31 references to Project
Aspire.Hosting (16)
ApplicationModel\DebugSupportExtensions.cs (2)
40
/// configuration type is <see cref="KnownLaunchConfigurationTypes.
Project
"/> is treated as implicitly
65
return supportsDebuggingAnnotation.LaunchConfigurationType == KnownLaunchConfigurationTypes.
Project
;
ApplicationModel\ExecutableLaunchConfiguration.cs (2)
65
/// <param name="type">The launch configuration type identifier, for example <see cref="KnownLaunchConfigurationTypes.
Project
"/>.</param>
105
public sealed class ProjectLaunchConfiguration() : ExecutableLaunchConfiguration(KnownLaunchConfigurationTypes.
Project
)
ApplicationModel\ExecutableLaunchRecipe.cs (3)
377
if (debugSupport.LaunchConfigurationType is KnownLaunchConfigurationTypes.
Project
&&
544
if (context.Decision.DebugSupport is { LaunchConfigurationType: not KnownLaunchConfigurationTypes.
Project
} customDebugSupport)
599
type.GetString() is KnownLaunchConfigurationTypes.
Project
;
ApplicationModel\ProjectLaunchConfigurationFactory.cs (2)
18
$"Resource '{resource.Name}' cannot produce a \"{KnownLaunchConfigurationTypes.
Project
}\" launch configuration because it has no project metadata. " +
19
$"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.");
Dcp\ExecutableLaunchPolicy.cs (4)
37
debugSupport is { LaunchConfigurationType: not KnownLaunchConfigurationTypes.
Project
}
60
GetLaunchMode(KnownLaunchConfigurationTypes.
Project
),
89
debugSupport?.LaunchConfigurationType is not null and not KnownLaunchConfigurationTypes.
Project
)
107
if (launchConfigurationType is KnownLaunchConfigurationTypes.
Project
)
ProjectResourceBuilderExtensions.cs (1)
509
KnownLaunchConfigurationTypes.
Project
);
SupportsDebuggingAnnotation.cs (2)
31
/// Gets the launch configuration type identifier, for example <see cref="KnownLaunchConfigurationTypes.
Project
"/>.
39
/// capability list), <see cref="KnownLaunchConfigurationTypes.
Project
"/> is treated as implicitly
Aspire.Hosting.Dotnet (3)
DotnetProjectHostingExtensions.cs (3)
137
&& debugAnnotation.LaunchConfigurationType is KnownLaunchConfigurationTypes.
Project
)
173
}, ownedByLaunchConfigurationType: KnownLaunchConfigurationTypes.
Project
);
191
&& debugAnnotation.LaunchConfigurationType is KnownLaunchConfigurationTypes.
Project
))
Aspire.Hosting.Dotnet.Tests (2)
DotnetProjectResourceTests.cs (2)
544
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, supportsDebugging.LaunchConfigurationType);
551
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, launchConfig.Type);
Aspire.Hosting.Tests (10)
Dcp\DcpExecutorTests.cs (5)
6425
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, projectLaunchConfiguration.GetProperty("type").GetString());
6569
KnownLaunchConfigurationTypes.
Project
,
7277
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, launchConfiguration.Type);
7298
KnownLaunchConfigurationTypes.
Project
);
7766
.WithDebugSupport(mode => ProjectLaunchConfigurationFactory.Create(resource, mode), KnownLaunchConfigurationTypes.
Project
);
Dcp\ExecutableLaunchPlanTests.cs (1)
129
owningLaunchConfigurationType: KnownLaunchConfigurationTypes.
Project
,
DebugSupportExtensionsTests.cs (4)
135
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, debugSupport.LaunchConfigurationType);
150
}, KnownLaunchConfigurationTypes.
Project
);
305
KnownLaunchConfigurationTypes.
Project
);
355
Assert.Equal(KnownLaunchConfigurationTypes.
Project
, annotation.LaunchConfigurationType);