New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor WebAssembly: Port 9300 already in use #25887
Comments
Pretty sure we recently fixed this? @mkArtakMSFT or @lewing @captainsafia ? |
Yep, we did. Unfortunately, it didn't make the cut-off for RC1 so we shipped it with RC2. I've responded to the user here. |
Closing this as this is now fixed in RC2. |
ok but this solution to clear out any process ".NET Host" only works once. Then, if we modify our code, this process is no longer in the tasks manager and the error come back |
This works for me while waiting for the fix:
and add to your .csproj
|
Reported by @helios2052 dotnet/core#5200 (comment)
I noticed that in both my upgraded app and in the sample RC1 blazor-wasm hosted template (w/auth), it will startup and run ok the first time, but throws an exception on the next and subsequent startups w/debugging.
It seems like possibly this error only happens if you stop the app/browser by pressing "stop debugging" in visual studio and then re-launch. If you close the browser directly, visual studio then stops debugging as usual and you can restart the app with no issues. I have to go into task manager and clear out any stuck ".NET HOST" processes and then relaunch each time.
The text was updated successfully, but these errors were encountered: