blazor webassembly to github some file can not be find?

mc 3,986 Reputation points

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 .

A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,460 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce ( 59,546 Reputation points

    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

    1 person found this answer helpful.
    0 comments No comments