blazor webassembly to github some file can not be find?

mc 6,396 Reputation points
2022-04-17T00:11:30.867+00:00

I am using blazor webassembly and I want to use github to host it.

I open the github pages and upload it.

some file in _framework can not be find like _framework/blazor.webassembly.js

I have set the base url .

Developer technologies | .NET | Blazor
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 81,971 Reputation points Volunteer Moderator
    2022-04-17T15:55:38.417+00:00

    You should have published to a folder. Then upload all folder contents to pages.

    Of course a better solution would be a GitHub action that did this. See

    https://swimburger.net/blog/dotnet/how-to-deploy-aspnet-blazor-webassembly-to-github-pages

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.