Report errors in Winform of Visual Studio when pressing the Rebuild button ... Error generating Win32 resource: The process cannot access the file because it is being used by another process. How is this error fixed ?
Printable View
Report errors in Winform of Visual Studio when pressing the Rebuild button ... Error generating Win32 resource: The process cannot access the file because it is being used by another process. How is this error fixed ?
Close the app you are trying to rebuild. Look in task manager. If no app is running, close all instances of visual studio. If that doesn't do it, reboot the computer.
Clean the solution, then rebuild all. What file is getting locked? Do you have more than one project in the solution? If so, build them one at a time. Are you building them in Visual Studio? If building from a build process outside of Visual Studio, do you have 'build projects in parallel' enabled? If so, turn it off.
Try removing all files from the project and then adding them alternately (1 file and rebuild, 2 files and rebuild... to last file in project) and determining which file are source of trouble.