Repository navigation
Description
I have a Blazor WASM project where I just upgraded via nuget Microsoft.AspNetCore.Components.WebAssembly, Microsoft.AspNetCore.Components.WebAssembly.DevServer from Version 7.0.7 to 7.0.8. With that I can't debug anymore, when downgrade both packages to 7.0.7 everything works.
I use latest VS2022 17.6.4.
The errormessagebox says "Process with an ID ... is not running."
The DOS Box says:
You must install or update .NET to run this application.
App: C:\Users\thomasf.FREUDI7.nuget\packages\microsoft.aspnetcore.components.webassembly.devserver\7.0.8\tools\blazor-devserver.dll
Architecture: x64
Framework: 'Microsoft.AspNetCore.App', version '7.0.8' (x64)
.NET location: C:\Program Files\dotnet\
The following frameworks were found:
2.1.2 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.13 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.15 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.16 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.17 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.18 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.19 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.20 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.21 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.22 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.23 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.24 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.27 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.30 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
3.1.3 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
3.1.13 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
3.1.14 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
3.1.15 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
3.1.30 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
3.1.31 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
3.1.32 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
5.0.4 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
5.0.6 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
5.0.9 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
5.0.17 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
6.0.5 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
6.0.10 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
6.0.11 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
6.0.13 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
6.0.18 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
7.0.7 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=7.0.8&arch=x64&rid=win10-x64
C:\Program Files\dotnet\dotnet.exe (Prozess "14404") wurde mit Code "-2147450730" beendet.
Um die Konsole beim Beenden des Debuggens automatisch zu schließen, aktivieren Sie "Extras" > "Optionen" > "Debuggen" > "Konsole beim Beenden des Debuggings automatisch schließen".
Drücken Sie eine beliebige Taste, um dieses Fenster zu schließen.
Activity
fredjc13 commentedon Jun 23, 2023
This worked for me also!!
TFreudi1 commentedon Jun 23, 2023
For me it don't work on 3 different computers. 2 times Win 11, 1 Win10, all with VS2022 17.6.4
janhjordie commentedon Jun 27, 2023
Same issue for me as well. Also updated to .NET 7.0.8, but that did not work.
Downgrade to 7.0.7 is the only way for now !
afumfer commentedon Jun 28, 2023
I have the same problem with .net 7.0.8. I have also downgraded the version to 7.0.7.
mkArtakMSFT commentedon Jun 29, 2023
Ping @thaystg
thaystg commentedon Jun 29, 2023
Can you please try to install the SDK 7.0.8?
https://dotnet.microsoft.com/en-us/download/dotnet/7.0
thaystg commentedon Jun 29, 2023
Also can you test if it works if you start without debugging?

TFreudi1 commentedon Jun 30, 2023
That don't work, same error. I also trying to switch Release Mode and than STRG-F5, same error.
TFreudi1 commentedon Jun 30, 2023
I will, but the last time I tried installing a NET SDK separate from the VS2022 installer I later ended up in completly removing VS2022, executing cleaning scripts .... I will install a VM and try that for you, but it needs some time.
afumfer commentedon Jun 30, 2023
My Blazor WebAssembly projects with ASP.NET Core Hosted, .NET 7.0.8 and Visual Studio 17.6.4 all work fine.
But in my standalone Blazor WebAssembly projects with .NET 7.0.8 this error persists. It doesn't work without debugging nor release mode. For it to work I have to downgrade to version 7.0.7.
DuckScapePhilip commentedon Jul 2, 2023
I am on 17.6.4 (VS2022) and .NET 7.0.8 and had the same issue. I downloaded the 7.0.8 hosting bundle and it worked after that. Must be missing from the 17.6.4 update or something.
thaystg commentedon Jul 3, 2023
@mkArtakMSFT can you help us to assign it to the right person?
[-]Debugging Blazor WASM in VS2022 not work with 7.0.8[/-][+]Blazor WASM in VS2022 not work with 7.0.8[/+]mkArtakMSFT commentedon Jul 3, 2023
Thanks @thaystg. I'll get someone to look into this later this week.
lewing commentedon Jul 10, 2023
simliar issue to #88391
thaystg commentedon Jul 26, 2023
This is the expected behavior, if you want to use the 7.0.8 Microsoft.AspNetCore.Components.WebAssembly.DevServer package you need to use the 7.0.8 or earlier runtime version.
This is because the blazor-devserver.runtimeconfig.json is configured like this: https://github.com/dotnet/aspnetcore/blob/f9828517e57769959d43c89d06ad7f319880258c/src/Components/WebAssembly/DevServer/src/blazor-devserver.runtimeconfig.json.in#L6
This is the runtimeconfig of the 7.0.8 nuget package.

thaystg commentedon Jul 26, 2023
Also VS 17.6.4 installs dotnet 7.0.7, VS 17.6.5 installs dotnet 7.0.8.