-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
dotnet watch not releasing .pdb file when restart is requested after a hot reload has occurred #45831
Comments
I believe this has been fixed. Does it reproduce in latest 9.0.2xx build? |
I'll give it a try. Where would I find that version to download? I don't see 9.0.2xx or any mention of a preview with that number at https://dotnet.microsoft.com/en-us/download/dotnet/9.0. |
Nevermind, just found https://github.com/dotnet/sdk/blob/main/documentation/package-table.md which seems to be the answer. |
@brettzook, sounds like you found a 9.0.2xx SDK 4 days ago, so it's fixed now? If I misunderstood, let me know, and we can reopen this 🙂 |
@Forgind, I hadn't been able to try out the daily build until now, sorry for the delay. I downloaded and installed Now when I run I tried the same steps and I still see the error, specifically after a hot reload has occurred. Restarting prior to the hot reload works fine. |
Sounds good. Reopened this issue. @tmat, do you know what the issue is? |
I'm experiencing this right now within a vanilla MVC project using 9.0.102. |
Describe the bug
When running a standalone WASM project via
dotnet watch
within Visual Studio (Developer PowerShell console), a request to restart that occurs after a hot reload will fail, due to the project's .pdb file being held.This behavior was introduced when I updated to VS 17.12.3 from 17.11.
To Reproduce
WasmStandalone
in VS.dotnet watch run --project .\WasmStandalone.csproj
Ctl-Shift-R
in the Developer PowerShell console to request a restartObserved sequence:

Sample project:
WasmStandalone.zip
Further technical details
dotnet --info output
The text was updated successfully, but these errors were encountered: