21 references to Project
aspire (2)
Mcp\Tools\ListResourcesTool.cs (1)
513var 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)
63[KnownProperties.Project.Path] = JsonValue.Create("/repo/maui/MauiApp.csproj"), 64[KnownProperties.Project.LaunchProfile] = JsonValue.Create("AndroidEmulator"), 65[KnownProperties.Project.LaunchCommand] = JsonValue.Create("watch"), 66[KnownProperties.Project.Configuration] = JsonValue.Create("Release"), 67[KnownProperties.Project.TargetFramework] = JsonValue.Create("net10.0"), 77Assert.Equal("watch", result.Properties[KnownProperties.Project.LaunchCommand]!.GetValue<string>()); 78Assert.Equal("Release", result.Properties[KnownProperties.Project.Configuration]!.GetValue<string>()); 79Assert.Equal("net10.0", result.Properties[KnownProperties.Project.TargetFramework]!.GetValue<string>());
Commands\DescribeCommandTests.cs (7)
409[KnownProperties.Project.Configuration] = JsonValue.Create("Release"), 410[KnownProperties.Project.LaunchCommand] = JsonValue.Create("watch"), 411[KnownProperties.Project.LaunchProfile] = JsonValue.Create("https"), 412[KnownProperties.Project.Path] = JsonValue.Create("/repo/api/Api.csproj"), 413[KnownProperties.Project.TargetFramework] = JsonValue.Create("net10.0"), 430[KnownProperties.Project.LaunchProfile] = JsonValue.Create("AndroidEmulator"), 431[KnownProperties.Project.Path] = JsonValue.Create("/repo/maui/MauiApp.csproj"),
Mcp\ListResourcesToolTests.cs (4)
733[KnownProperties.Project.Path] = JsonValue.Create(@"C:\repo\Api\Api.csproj") 772[KnownProperties.Project.Path] = JsonValue.Create("/repo/Project/Project.csproj") 895[KnownProperties.Project.Path] = JsonValue.Create("/repo/Api/Api.csproj"), 1004[KnownProperties.Project.Path] = JsonValue.Create("/repo/CaseMismatched/CaseMismatched.csproj"),