Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2022 dev tunnel on Blazor WASM hosted ASP.NET Core project

I have a Blazor web assembly hosted in an ASP.NET Core 7 project.

I'm using Windows 10, and Microsoft Visual Studio Enterprise 2022 (64-bit) - current version is 17.5.1.

I want to run it by Visual Studio 2022 on dev tunnels and view that site on my mobile.

I created tunnel but when I start the project by F5 in debug mode VS get error : Unable to launch browser Could not open wss://

My VS 2022 is logged in to my Microsoft account.

I have installed .NET 6.0 WebAssembly Build Tools and .NET WebAssembly Build Tools in my VS 2022.

How to run the Blazor project on a dev tunnel?

enter image description here

enter image description here

enter image description here

enter image description here

like image 205
M Komaei Avatar asked Nov 27 '25 19:11

M Komaei


1 Answers

This is an old issue but today it still persists, see here. In the same thread, you see that it works without debugger.

like image 187
Flippowitsch Avatar answered Dec 01 '25 04:12

Flippowitsch