-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Blazor: Mono linker path not properly quoted #17754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Got the same problem, "ILLink failed with exited code 1" even with a blank project... |
@Flearz workaround is to edit the file ".nuget\packages\microsoft.aspnetcore.blazor.build\3.1.0-preview4.19579.2\targets\Blazor.MonoRuntime.targets" in your home directory and change:
into
|
@jspuij P.S. Even though I put the project in my SSD root, it was not working |
@Flearz You're welcome ;-) |
@jspuij thanks for contacting us. We'll take a look at the issue and get back to you. |
Same issue here. Spent an evening tracking this down before finding this post. Can confirm that the workaround worked. Thanks! |
@jspuij thank you so much, how can you be that rocking smart? |
@jkotalik Nice :) |
Uh oh!
There was an error while loading. Please reload this page.
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
The text was updated successfully, but these errors were encountered: