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