Build Error
When I hit F5 it gives me this error, it was working smooth last night, I really have no idea what happened, I checked the .exe file and it runs the last night's build. How can I solve this?
10 Replies
something is using the .exe file, so visual studio can't move it around/delete it/rebuild it
find what is using the .exe file (maybe you've got it running in another window, or another copy of visual studio open) and kill it
Thank you, let me check for a second
The build error gives you both process IDs, you can view process IDs in task manager, use that to find which process is using your file and close them (there's 2)
You may need to show the PID column if it's hidden by right clicking another column and then checking PID in the context menu.
Oh thank you so much
So you're looking for 4356 and 32416
I literally couldn't find at first, reboot my pc and it started working
Yeah the reboot will have just closed those 2 processes. If you see that error again, look for the 2 PIDs in the brackets and it'll help you narrow down the process a little quicker 🙂
Thank you so much again
No problem, happy to help 🙂