I tried 5-6 solutions. Example: Deleting the folder bin/Debug and restarting VS or changing solution configurations debug/release but these solutions worked once and ı take a error again. And I tried the closing all instances of MyProject.exe in the windows task manager and it worked. I can changing code in my project and didn't give an error when I started the project. I think problem is solved. But ı open and close the app and ı tried to make changes in my code when ı started the project ı take a error again.
So, when the app is open in the windows task manager ı am taking this error.
Please give me a solutions, will work continually
CodePudding user response:
I found the solution. There is a login page in my project. When the username and password entered correctly ı am hiding to login page. So when ı closed the exam-record page, login page still running. This is the problem and ı solved like this:
enter image description here my this.hide code
enter image description here my solutions
CodePudding user response:
Maybe it will be solved with the following:
Close remaining process MsBuild.exe in task manager.