When a Solution contains multiple Project, a compiler often occurs an error message: The process cannot access the file because another program is using this file. There is actually no process is using that file. This is a bug. Restarting Visual Studio is fine.