I can run once and debug my Azure Functions. But when I stop and rerun I get the below for all the functions. I can stop and restart Visual Studio 2022 no effect. I have to completely reboot and then the debug will work. Till I try to restart. This has worked fine until today. I can't figure out what is hanging.
[2021-09-19T20:44:02.211Z] Received FunctionLoadResponse for functionId:11617590-59d2-4b19-8fbf-5922692e7dbb
[2021-09-19T20:44:02.212Z] Worker failed to function id 11617590-59d2-4b19-8fbf-5922692e7dbb.
[2021-09-19T20:44:02.213Z] Result: Failure
Exception: System.InvalidOperationException: Unable to load Function 'RenderSwaggerUI'. A function with the id '11617590-59d2-4b19-8fbf-5922692e7dbb' name already exists.
[2021-09-19T20:44:02.214Z] at Microsoft.Azure.Functions.Worker.FunctionsApplication.LoadFunction(FunctionDefinition definition) in D:\a\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 53
[2021-09-19T20:44:02.214Z] at Microsoft.Azure.Functions.Worker.GrpcWorker.FunctionLoadRequestHandler(FunctionLoadRequest request, IFunctionsApplication application, IMethodInfoLocator methodInfoLocator) in D:\a\1\s\src\DotNetWorker.Grpc\GrpcWorker.cs:line 243
Stack: at Microsoft.Azure.Functions.Worker.FunctionsApplication.LoadFunction(FunctionDefinition definition) in D:\a\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 53
[2021-09-19T20:44:02.215Z] at Microsoft.Azure.Functions.Worker.GrpcWorker.FunctionLoadRequestHandler(FunctionLoadRequest request, IFunctionsApplication application, IMethodInfoLocator methodInfoLocator) in D:\a\1\s\src\DotNetWorker.Grpc\GrpcWorker.cs:line 243.
[2021-09-19T20:44:03.541Z] Host lock lease acquired by instance ID '00000000000000000000000088777BF1'.