Skip to content
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

[Wasm] Ensure traling slash in OutputPath #103768

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Conversation

javiercn
Copy link
Member

@javiercn javiercn commented Jun 20, 2024

At first I thought it was an issue on Blazor, but I've tracked it down to the path being incorrectly combined when its missing a trailing slash.

Fixes #103767

…oft.NET.Sdk.WebAssembly.Browser.targets

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
@lewing lewing requested a review from maraf June 20, 2024 17:28
@maraf
Copy link
Member

maraf commented Jun 20, 2024

There are several more similar concatenations with $(PublishDir) and $(OutDir). Do we need to address those as well?

@javiercn
Copy link
Member Author

There are several more similar concatenations with $(PublishDir) and $(OutDir). Do we need to address those as well?

I'm trying to keep the fix scoped to the issue at hand, but yes, I noticed the same thing and was going to file a separate follow-up issue for it.

@javiercn
Copy link
Member Author

Filed #103783 to track it.

@lewing lewing merged commit 7bc9292 into main Jun 20, 2024
23 checks passed
@akoeplinger akoeplinger deleted the javiercn/fix-custom-output-path branch June 21, 2024 15:34
rzikm pushed a commit to rzikm/dotnet-runtime that referenced this pull request Jun 24, 2024
* [Wasm] Ensure traling slash in OutputPath

* Update src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/Microsoft.NET.Sdk.WebAssembly.Browser.targets

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

---------

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Jul 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building hosted blazor wasm app in docker results in exception 'DefineStaticWebAssetEndpoints' with dotnet 9
4 participants