Debugging a Class Library

独自空忆成欢 提交于 2019-12-23 03:13:35

问题


I have a few class libraries in my ASP.net Web Application. I have been debugging them with no problems then suddenly, BAM! Monday morning I get this error and I can hit any break points:

The following module was built wither with optimizations enabled or without debug information:

To debug this module, change its project build configuration to Debug mode. To supress this message, disable "warn if no user code on launch" debugger option.

Does anyone have any ideas as to what is causing this?

thanks!


回答1:


In the toolbars at the top of Visual Studio, theres a drop-down indicating whether to build the current solution with debug- or release-configuration. This drop-down menu usually resides next to the "play"-button you'd press to Start debugging.

http://msdn.microsoft.com/en-us/library/wx0123s5.aspx



来源:https://stackoverflow.com/questions/8789320/debugging-a-class-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!