RC2 Blazor Wasm with DotNetCore server using Windows Authentication - can't debug #27437
Labels
area-blazor
Includes: Blazor, Razor Components
feature-blazor-wasm
This issue is related to and / or impacts Blazor WebAssembly
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Status: Resolved
With an .NET5 RC2 Blazor WebAssembly project, with Windows Authentication (rather than Anonymous Authentication) enabled on the server.
When you attempt to debug the project, the browser will open, but the page doesn't load and eventually VS2019 reports:
_"One or more errors occurred.
Failed to launch debug adapter. Additional information may be available in the output window.
Exception of type
'Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.ProtocolException' was thrown."_
This means I cannot debug the application as it will be running in production (so can't access HttpContext.User windows authentication info).
I believe this was supposed to be fixed in RC1 #21466 but it still persists for me.
The text was updated successfully, but these errors were encountered: