Skip to content

Blazor: Mono linker path not properly quoted #17754

@jspuij

Description

@jspuij

Describe the bug

The new BlazorILLink task does not properly quote the MonoLinkerPath, so usernames with e.g. spaces make the linker task fail.
See: https://github.com/aspnet/AspNetCore/blob/master/src/Components/Blazor/Build/src/targets/Blazor.MonoRuntime.targets#L204

To Reproduce

Try to compile a blazor wasm project from a machine with a space in the username. See this gist, at "_LinkBlazorApplication":

https://gist.githubusercontent.com/TofuEcho/0d110f8cad83071406dcd8f48d928fbc/raw/259d63b7e9b541cdc17475b142fa8c7a7e537a62/gistfile1.txt

Further technical details

  • ASP.NET Core version 3.1.0

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.feature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssembly

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions