I was getting the below error "The following module was built either with optimization enabled or without debug information in Visual Studio 2010
C:\windows\microsoft.net\Framework\v2.0.50727\Temporary ASP.NET Files\ ......
I have done an work around for the same so that I will get that message
Go to Tools ->Options ->Debugging ->General ->Uncheck(Enable Just My Code(Managed Only))
I hope this will work. You can also check out some SharePoint errors and solutions.
C:\windows\microsoft.net\Framework\v2.0.50727\Temporary ASP.NET Files\ ......
I have done an work around for the same so that I will get that message
Go to Tools ->Options ->Debugging ->General ->Uncheck(Enable Just My Code(Managed Only))
I hope this will work. You can also check out some SharePoint errors and solutions.