I am expierencing a strange problem with Visual Studio 2019. We ware using SOAP-webreferences in our projects. When I start a project in debug mode, the debugger freezes when the SOAP reference is instantiated. Waiting ~5 minutes helps but this problem strongly impaires the development. When I start the same App without the Visual Studio debugger, everything works fine. The bottom line is that I cannot use the debugger right now.
I already tried to set a breakpoint but nothing happens when the debugger freezes - even in the console.
Please try the following steps:
1) disable any third party vs installed extensions under Extensions-->Manage Extensions to check whether there is an extension causing that.
2) reset all vs settings under
Tools-->Import and Export Settings-->Reset all VS settings3) clean nuget caches first
then run
update-package -reinstallunderTools-->Nuget Package Manager-->Package Manager Console4) close VS, delete
.vshidden folder under the solution folder,binandobjfolder5) try to use another port under Project Porperties-->Web-->Porject Url
https://localhost:<prot>/likehttps://localhost:44307/6) Or try run
devenv /safemodeon Developer Command Prompt for VS2019 to start a pure VS and then debug your project to test again.7) If it does not work, you could create a new winform project in VS2019 and then migrate the old content into the new one to test whether the issue still persists. And if it succeeded, it is a better solution to avoid this issue.
If the error also happens on the new one, please repair vs or update vs.
Besides, if these do not work, please share a small sample with us so that it will help us troubleshoot your issue more quickly.