Error Creating Debug Information - Code Won't Compile

前端 未结 19 1973
深忆病人
深忆病人 2021-02-18 15:04

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

19条回答
  •  南笙
    南笙 (楼主)
    2021-02-18 15:29

    This problem started occurring for me after changing from Cassini to IIS Express as my platform for debugging.

    Cassini was much better than IIS Express but doesn't properly support the Integrated pipeline. IIS Express is hopeless.

    This seems to be some sort of race condition in Visual Studio or IIS Express. It is nothing to do with one project locking another project - the locks are coming solely from the activity of the web application's build process.

    Anyways, none of the above solutions worked for me. Unlocker doesn't seem to be supported for Windows 8 anymore. So instead I tried LockHunter. What I do is keep the LockHunter app open all day. If I get a complaint about some file being locked I copy and paste the file path into LockHunter then try again. This usually sorts out the problem but sometimes takes a few attempts.

提交回复
热议问题