1 implementation of BasePath
Aspire.Hosting (1)
ApplicationModel\AspireStore.cs (1)
39public string BasePath => _basePath;
10 references to BasePath
Aspire.Hosting (2)
Dcp\ExecutableConfigurationResolver.cs (1)
172return Path.Join(_aspireStore.BasePath, "dcp", "executables", executable.Metadata.Name, "certificates");
src\Shared\VolumeMountPathResolver.cs (1)
54return Path.GetFullPath(Path.Combine([Path.GetFullPath(store.BasePath), .. pathSegments]));
Aspire.Hosting.Kubernetes (1)
src\Shared\VolumeMountPathResolver.cs (1)
54return Path.GetFullPath(Path.Combine([Path.GetFullPath(store.BasePath), .. pathSegments]));
Aspire.Hosting.Tests (6)
AspireStoreTests.cs (5)
19Assert.True(Directory.Exists(Path.GetDirectoryName(store.BasePath))); 27var path = store.BasePath; 40var path = store.BasePath; 51var path = store.BasePath; 69Assert.Equal(Path.Combine(workspace.WorkspaceRoot.FullName, ".aspire"), store.BasePath);
WithVolumeTests.cs (1)
147var storePrefix = Path.GetFullPath(app.Services.GetRequiredService<IAspireStore>().BasePath) + Path.DirectorySeparatorChar;
DotnetTool.AppHost (1)
AppHost.cs (1)
90var nugetPackagesPath = Path.Join(evt.Services.GetRequiredService<IAspireStore>().BasePath, "nuget");