Posted on: 2/27/2015 1:33:01 AM | Views : 638

It will not let me update the old post, but I found a better way to resolve this issue and figured it could help.
Here is the error I would get: 
Error 1 Unexpected error creating debug information file 'c:\aMyTestApplication\MyTestApplication\MyTestApplication.UI\obj\Release\MyTestApplication.UI.PDB' -- 'c:\aMyTestApplication\MyTestApplication\MyTestApplication.UI\obj\Release\MyTestApplication.UI.pdb: The process cannot access the file because it is being used by another process. C:\aMyTestApplication\MyTestApplication\MyTestApplication.UI\CSC MyTestApplication.UI Well Below is a small windows application you can write. Then make a shortcut on your desktop and when you have this error, just click the .exe and it should work.
Of course: Change the path to match your error etc:
using System; using System.Collections.Generic; us ...

Go to the complete details ...