Tuesday, November 23, 2010

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

I have been getting this error quite a lot in visual studio 2008. To fix it I followed the following:

On the tools/options menu, under debugging, uncheck the 'enable just my code(managed only)'

...you will need to ensure the 'show all settings' checkbox is set.

Hope this helps someone!