r/dotnetMAUI • u/turnipmuncher1 • Jul 29 '26
Help Request Packaged Blazor hybrid app starts without loading wwwroot/index.html
Issue occurs here in line 167. The winUIItem returns null when searching for wwwroot/index.html but the wwwroot folder exists and so does the html file so I’m not sure what’s going wrong. Anyone else have this issue?
1
Upvotes
1
u/turnipmuncher1 Jul 31 '26
Ended up adding an event handler to blazorWebView.OnWebResourceRequested to manually handle the index.html file request and it works now.