The Following Module was built either with optimizations enabled or without debug information

后端 未结 30 2069
离开以前
离开以前 2020-12-04 07:30

I cannot get rid of this in my VS 2008 web project when debugging. I\'ve checked that it\'s in debug mode on the non-web project in question and it\'s in Active(Debug). De

30条回答
  •  自闭症患者
    2020-12-04 08:10

    I had this issue with a solution in a certain folder, but if I moved it to another folder or others built it, I didn't get the message. I did the clean, rebuild, and even rebooted and still couldn't get the original to debug without this message. I searched my system for copies of the file causing the error and I found that copies were kept in

    c:\User\username\AppData\Local\Assembly\dl3

    This was on Win7-64 but will be similar on other Windows OSes. I deleted all of the copies I found there and I no longer get the message. I didn't need to uncheck the "Enable Just My Code".

    Also, this was for a WPF app, but I came across this thread in my search so hopefully this will help someone else.

提交回复
热议问题