11 references to ProjectPath
Aspire.Hosting.Blazor (8)
BlazorGatewayExtensions.cs (7)
333
wasmApp.Resource.
ProjectPath
,
565
var success = await BlazorWasmAppBuilder.BuildAsync(reg.Resource.
ProjectPath
, logger, ct).ConfigureAwait(false);
572
var paths = await BlazorWasmAppBuilder.GetManifestPathsAsync(reg.Resource.
ProjectPath
, logger, ct).ConfigureAwait(false);
624
var project = GetProjectInfo(wasmApp.Resource.
ProjectPath
, gateway.ApplicationBuilder.AppHostDirectory);
626
project.SolutionRoot, wasmApp.Resource.
ProjectPath
).Replace('\\', '/');
648
wasmApp.Resource.
ProjectPath
,
651
?? throw new InvalidOperationException($"Unable to determine publish properties for '{wasmApp.Resource.
ProjectPath
}'.");
Resources\BlazorWasmAppResource.cs (1)
26
public string ProjectDirectory => Path.GetDirectoryName(
ProjectPath
)!;
Aspire.Hosting.Blazor.Tests (3)
AddBlazorWasmAppTests.cs (2)
20
Assert.EndsWith("MyApp.csproj", resource.
ProjectPath
);
58
Assert.Equal(Path.GetDirectoryName(resource.
ProjectPath
), resource.ProjectDirectory);
WithBlazorAppTests.cs (1)
355
Assert.Equal(wasmApp.Resource.
ProjectPath
, launchConfiguration.WebRoot);