Reputation: 379
I have blazor wasm application that has been working with the debugger for several months. This problem started yesterday. It is getting errors like on the ones below if I have breakpoints set in vs 2019 16.10.1 and I press f5 for debugging. So When I have no breakpoints in the entire program the first page loads correctly. When the first page loads (3 tiles on the page) it loads successful and then I set a breakpoint on another component( it gets two errors per one breakpoint).... it gets the error just by clicking the breakpoint in the VS 2019 source..(it is interactive) . It doesn't matter if I use iisexpress or kestrel. I've uninstalled vs 2019 and reloaded. (my thought was did I turn something on in vs 2019 that I dont want). . I've deleted .vs folder in the solution of the project thinking it is something in the solution . Suggestions are welcomed. I've report this also (on the github.com/aspnetcore)
Upvotes: 2
Views: 255
Reputation: 379
I had some help from microsoft on this. Currently, blazor wasm .net 5 does not allow embeded pdb so make sure it is set to the pdb to portable option in the solution.
Upvotes: 2