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:
Pranav K 2020-03-10 11:06:15 -07:00 committed by GitHub
parent 4741da1451
commit 6833facda4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,6 @@
<PropertyGroup>
<_BlazorDevServerDll>$(MSBuildThisFileDirectory)../tools/blazor-devserver.dll</_BlazorDevServerDll>
<RunCommand>dotnet</RunCommand>
<RunArguments>&quot;$(_BlazorDevServerDll)&quot; serve --applicationpath &quot;$(MSBuildProjectDirectory)/$(OutputPath)$(TargetFileName)&quot;</RunArguments>
<RunArguments>&quot;$(_BlazorDevServerDll)&quot; serve --applicationpath &quot;$(TargetPath)&quot;</RunArguments>
</PropertyGroup>
</Project>