Help me pls guys. I have a class library written in .Net 5.0 and used in a service on IIS. In the method that I need, I put a debugger call through Debugger.Lounch() but after calling the method Visual Studio 2022 shows the error "Unable to attach to the process. Debugger protocol is incompatible with the debugged object".
Installed:
- .Net 5 SDK
- .Net 6 SDK
- Visual Studio 2022 with all updates to the current date.
What should I do to fix the error?