Unable to reattach to the process Visual Studio 2022

Question: I am trying to attach a debugger to the Process of the AspNet 6 application running and I get this error "Unable to reattach to the process: ApplicationName.exe: Attaching a .NET debugger to this process is not allowed because code changes have been applied. The process much be restarted to allow debugging.

Answer: This means that the changes you previously made to the project broke the project. It is most likely that there is a 500 Error Code (Internal Server Error). In order to resolve this problem, restart your application again and then try to reattach the debugger to the running process.

I hope this helps you, if it did, leave a comment explaining how you solve the issue.

Edit this Article
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

Your Session is Ending
Login to Continue

© 2022 - ErnesTech - Privacy