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.



Please Login to see the rest of the answer

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.


Write an 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.


© 2022 - ErnesTech - Privacy