When I try to compile code on VS 2005 and it fails, the line which causes the error gets underlined blue, and mouse-hovering over it displays the error message. Fine, but you can’t see object types or whatever, because Intellisense will show the error message, and not object info.
In this image, I wanted to see what type DateTime.Subtract() returns, but VS insists on showing the error message:
alt text http://img502.imageshack.us/img502/6962/vs2005errordl7.png
Does anyone know how to get the error message out of the way, once you’ve got enough of it?
Select ‘Build|Clean Solution’ – this cleans up intermediate files and other things. More importantly, it also clears the list of error messages, restoring normal behaviour of Intellisense.