21 references to Project
aspire (2)
Mcp\Tools\ListResourcesTool.cs (1)
511var projectPath = GetStringProperty(snapshot, KnownProperties.Project.Path);
src\Shared\Model\ResourceSourceViewModel.cs (1)
21properties.TryGetValue(KnownProperties.Project.Path, out var projectPath) &&
Aspire.Cli.Tests (19)
Backchannel\ResourceSnapshotMapperTests.cs (8)
47[KnownProperties.Project.Path] = JsonValue.Create("/repo/maui/MauiApp.csproj"), 48[KnownProperties.Project.LaunchProfile] = JsonValue.Create("AndroidEmulator"), 49[KnownProperties.Project.LaunchCommand] = JsonValue.Create("watch"), 50[KnownProperties.Project.Configuration] = JsonValue.Create("Release"), 51[KnownProperties.Project.TargetFramework] = JsonValue.Create("net10.0"), 61Assert.Equal("watch", result.Properties[KnownProperties.Project.LaunchCommand]!.GetValue<string>()); 62Assert.Equal("Release", result.Properties[KnownProperties.Project.Configuration]!.GetValue<string>()); 63Assert.Equal("net10.0", result.Properties[KnownProperties.Project.TargetFramework]!.GetValue<string>());
Commands\DescribeCommandTests.cs (7)
296[KnownProperties.Project.Configuration] = JsonValue.Create("Release"), 297[KnownProperties.Project.LaunchCommand] = JsonValue.Create("watch"), 298[KnownProperties.Project.LaunchProfile] = JsonValue.Create("https"), 299[KnownProperties.Project.Path] = JsonValue.Create("/repo/api/Api.csproj"), 300[KnownProperties.Project.TargetFramework] = JsonValue.Create("net10.0"), 317[KnownProperties.Project.LaunchProfile] = JsonValue.Create("AndroidEmulator"), 318[KnownProperties.Project.Path] = JsonValue.Create("/repo/maui/MauiApp.csproj"),
Mcp\ListResourcesToolTests.cs (4)
731[KnownProperties.Project.Path] = JsonValue.Create(@"C:\repo\Api\Api.csproj") 770[KnownProperties.Project.Path] = JsonValue.Create("/repo/Project/Project.csproj") 893[KnownProperties.Project.Path] = JsonValue.Create("/repo/Api/Api.csproj"), 1002[KnownProperties.Project.Path] = JsonValue.Create("/repo/CaseMismatched/CaseMismatched.csproj"),