MobileBlazorBindings icon indicating copy to clipboard operation
MobileBlazorBindings copied to clipboard

Error in Web UI on startup (Win + Android).

Open Kukks opened this issue 4 years ago • 5 comments
trafficstars

I tried searching, I promise @Eilon :D I'm unsure what causes this error, I tried allowing all exceptions to suspend but nothing seems to get caught. Any thoughts? I'm also building the common UI for WASM and Blazor Server with no issues. I am testing on Windows WPF and Android (probably similar errors on Apple stuff but can't test them)

image image

Kukks avatar Jul 13 '21 15:07 Kukks

Very weird. I feel like I've seen it before but I can't find any previous bug. Do you have a repro for this project? Or any info on the project structure that might be related to this?

Eilon avatar Jul 13 '21 16:07 Eilon

Very weird. I feel like I've seen it before but I can't find any previous bug. Do you have a repro for this project? Or any info on the project structure that might be related to this?

https://github.com/Kukks/BlazingPay on master should be able to repro on run. Debugging a bit and it seems to be on Main.razor, which is a simplified version of the hybrid template

Kukks avatar Jul 13 '21 16:07 Kukks

So it seems the culprit is LiveSharp (which enables hot reload for Blazor + Xamarin even on .net core 3). Once I removed the package, it deployed with no issues. cc @ionoy perhaps you know what went wrong?

Kukks avatar Jul 16 '21 11:07 Kukks

Oh that's interesting. If there's something we need to take into account in MBB to make this work I'd love to know.

Eilon avatar Jul 16 '21 16:07 Eilon

It was actually working quite well for me when I was last using MBB around 6-7months ago so it must be some general updates

On Fri, Jul 16, 2021, 18:33 Eilon Lipton @.***> wrote:

Oh that's interesting. If there's something we need to take into account in MBB to make this work I'd love to know.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dotnet/MobileBlazorBindings/issues/389#issuecomment-881573825, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN357RAZCWNH53EJ3WBF53TYBNMZANCNFSM5AJLAYPQ .

Kukks avatar Jul 16 '21 20:07 Kukks