Use TargetPath in blazor dev server (#19658)
The linker's changed since the issue report and correctly resolves paths. However the dev-server was doing weird things to calculate the path to the output. Fixes https://github.com/dotnet/aspnetcore/issues/18288
This commit is contained in:
parent
4741da1451
commit
6833facda4
|
|
@ -2,6 +2,6 @@
|
|||
<PropertyGroup>
|
||||
<_BlazorDevServerDll>$(MSBuildThisFileDirectory)../tools/blazor-devserver.dll</_BlazorDevServerDll>
|
||||
<RunCommand>dotnet</RunCommand>
|
||||
<RunArguments>"$(_BlazorDevServerDll)" serve --applicationpath "$(MSBuildProjectDirectory)/$(OutputPath)$(TargetFileName)"</RunArguments>
|
||||
<RunArguments>"$(_BlazorDevServerDll)" serve --applicationpath "$(TargetPath)"</RunArguments>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue