-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
I have a .NET Core 5.0 Blazor WebAssembly Hosted project that was debugging successfully in Visual Studio 2019 Preview version 16.11.0 Preview 2 on Friday.
After the weekend I came back to work on Monday and upgraded another side-by-side instance, Visual Studio 2019 version 16.10.2 to version 16.10.3.
Since then (not sure if its related or not) but when I try to debug F5 in the other Visual Studio 2019 Preview version 16.11.0 Preview 2 I get the following error and chrome doesn't launch.
N.B. There isn't a %TEMP%\visualstudio-js-debugger.txt file generated.
When I click OK on the error dialog the ASP.NET Core Web Server output window in VS shows:
Starting IIS Express ...
Successfully registered URL "https://localhost:44345/" for site "MB5.Server" application "/"
Failed to register URL "http://localhost:56481/" for site "MB5.Server" application "/". Error description: The process cannot access the file because it is being used by another process. (0x80070020)
Registration completed for site "MB5.Server"
IIS Express is running.
If I look in the System tray for IIE Express it is there and it shows a running application:

If I click on the URL shown in the IIS Express dialog then it loads in Chrome and the application is running but without debugging.
Any idea how I can get my Visual Studio 2019 Preview version 16.11.0 Preview 2 instance to start up debugging session in chrome using IIS Express once again?
N.B. I have tried deleting the hidden .vs but didn't make any difference.
