debugging Blazor:无法启动调试适配器

u59ebvdq  于 2022-11-14  发布在  其他
关注(0)|答案(2)|浏览(157)

kind of desperate with this problem that I don't know how to fix and I don't know the cause. Full error when running Blazor app:

It's a WASM application hosted in .net core. Therefore there is a backend and a frontend. I have set my backend project as Startup project, which will take care of hosting also the frontend. Both projects are set up on .NET 5. I have read that multiple factors can cause this error and yet I tried all the possible solutions I have found so far.

  • I kill manually the app processes that hang running even when I stop debugging, closed VS, deleted the whole .vs folder and then restarted VS.
  • I disabled script debugging

  • Also tried enabled and disabled:

  • Tried also to start it with latest version of Microsoft Edge instead of Chrome, sometimes it works and doesn't give troubles sometimes it doesn't
  • in a post I have read from the official support that it's a bug that is being solved already in the 16.10 VS preview version. I downloaded and installed it, still nothing.
  • tried both iisExpress and .net CLI as hosting profile.

Moreover when starting the app a normal blank page only opens on the browser:

Don't know honestly what to try anymore. Could anyone help? Thanks in advance!

h7appiyu

h7appiyu1#

我有同样的问题完全相同的设置,这对几次,在这两个场合我都删除了VS文件夹,做了重建,然后重新启动我的个人电脑。
我知道这不是根本原因解决方案,但它对我很有效。

m2xkgtsf

m2xkgtsf2#

在我的情况下,它是失踪的最新ASP.NET核心框架...
确保您获得托管捆绑包。

.NET location: C:\Program Files\dotnet\
The following frameworks were found:
  6.0.9 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=6.0.10&arch=x64&rid=win10-x64

安装后必须重新启动VS ..

相关问题