github / VisualStudio

GitHub Extension for Visual Studio
https://visualstudio.github.com
MIT License
2.36k stars 1.2k forks source link

Failed to launch debug adapter - 17.6.0 Preview 1 - Blazor #2719

Closed nadavhury closed 1 year ago

nadavhury commented 1 year ago

Since updating to the latest 17.6.0 preview 1, I get this error when trying to debug a Blazor Webassembly app .net 6 project, image

This problem appears on two different computers with VS community preview installed. I have tried the following:

  1. clean and rebuild.
  2. follow guidelines for similar problems such as those mentioned here: https://stackoverflow.com/questions/71342354/failed-to-launch-debug-adapter-in-visual-studio-2022
  3. removing Javascript Diagnostics from the Visual Studio Installer (which removed the asp.net core development section) and installing again, didn't work.
nadavhury commented 1 year ago

Found this Issue: https://github.com/dotnet/aspnetcore/issues/46799 also contains a workaround.