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