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

后端 未结 30 2119
离开以前
离开以前 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:08

    I had the same problem after building with a Release configuration. It turned out that when I switched back to Debug, VS wasn't detecting any differences, so it was not updating the .dll and .pdb files in the bin folder.

    Here's what worked for me:

    1. Run iisreset (to clean up the temporary folders)
    2. Save the web.config (to force VS to actually rebuild)
    3. Rebuild on Debug
    4. Start the project

提交回复
热议问题