Reputation: 211
In the last couple of days I completed a minor upgrade of Visual Studio 2019 from version 17.0.xx to 17.1.1.
After completing this, breakpoints in the client project within my Blazor WebAssembly solution are not working. Hovering over the breakpoint displays:
The breakpoint will not currently be hit. Unbound breakpoint
This only seems to be affecting the client project. I can effectively set breakpoints in the server project under the same solution.
I have been searching this and have completed the following steps:
None of these have had any impact.
How can I solve this?
Upvotes: 4
Views: 1318
Reputation: 115
I had the same, and I eventually fixed it by setting the Debug symbols to "PDB file, portable across platforms" in the build settings of the client project, as per the documentation.
Upvotes: 6