I have an existing Azure function app, using .NET 8 in isolated process mode. I have worked with it for months in VS2022 Enterprise. On a new laptop, I have VS2022 Community edition.
When launching the application in debug mode, it will frequently hang during the startup. Verbose mode is on and the last line displayed before hanging is “Reading functions metadata (Worker)”.
I have found that cleaning the solution has no affect. Deleting the bin
folder and rebuilding may allow it to start normally. Deleting the bin
folder AND restarting VS2022 almost always allows it to launch properly. Stopping the debugging and restarting causes the cycle to begin again.
The problem never occurred in VS2022 Enterprise on a different machine. Running the same solution in JetBrains Rider has no issues.
Any ideas on what the cause is and workaround?