From 6833facda457847e30dba441bd1a0e14fb025047 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Tue, 10 Mar 2020 11:06:15 -0700 Subject: [PATCH] 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 --- ...icrosoft.AspNetCore.Components.WebAssembly.DevServer.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/WebAssembly/DevServer/src/build/Microsoft.AspNetCore.Components.WebAssembly.DevServer.targets b/src/Components/WebAssembly/DevServer/src/build/Microsoft.AspNetCore.Components.WebAssembly.DevServer.targets index 2db2b153fb..09b78cf719 100644 --- a/src/Components/WebAssembly/DevServer/src/build/Microsoft.AspNetCore.Components.WebAssembly.DevServer.targets +++ b/src/Components/WebAssembly/DevServer/src/build/Microsoft.AspNetCore.Components.WebAssembly.DevServer.targets @@ -2,6 +2,6 @@ <_BlazorDevServerDll>$(MSBuildThisFileDirectory)../tools/blazor-devserver.dll dotnet - "$(_BlazorDevServerDll)" serve --applicationpath "$(MSBuildProjectDirectory)/$(OutputPath)$(TargetFileName)" + "$(_BlazorDevServerDll)" serve --applicationpath "$(TargetPath)"