4 writes to Path
aspire (2)
Configuration\AspireConfigFile.cs (1)
379Path = settings.AppHostPath,
Scaffolding\ScaffoldingService.cs (1)
151config.AppHost.Path ??= language.AppHostFileName;
Aspire.Cli.Tests (2)
Configuration\AspireConfigFileTests.cs (2)
133AppHost = new AspireConfigAppHost { Path = "src/AppHost/AppHost.csproj" }, 316AppHost = new AspireConfigAppHost { Path = "App.csproj" },
8 references to Path
aspire (1)
Projects\ProjectLocator.cs (1)
190if (aspireConfig?.AppHost?.Path is { } configAppHostPath)
Aspire.Cli.Tests (7)
Configuration\AspireConfigFileTests.cs (4)
38Assert.Equal("MyApp/MyApp.csproj", result.AppHost?.Path); 61Assert.Equal("MyApp/MyApp.csproj", result.AppHost?.Path); 81Assert.Equal("MyApp/MyApp.csproj", result.AppHost?.Path); 334Assert.Equal("App.csproj", loaded.AppHost?.Path);
Projects\ProjectLocatorTests.cs (3)
314Assert.NotNull(settings!.AppHost?.Path); 315Assert.DoesNotContain('\\', settings.AppHost.Path); // Ensure no backslashes 316Assert.Contains('/', settings.AppHost.Path); // Ensure forward slashes