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.



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.






© 2024 - ErnesTech - Privacy
E-Commerce Return Policy