I\'m using VS 2008. When ever I make a change in my code and try to compile I get the following error:
Error 7 Unexpected error creating debug informa
Old topic, but something that worked for me. I had 2 projects in my solution, a class library type project and a windows form project. The windows form project was referencing the compiled binary and not the project itself in my case which was causing the lock. After changing the reference to the class library project, it worked properly.