I have upgraded a visual basic 2005 project to visual basic 2010 (.net framework 4.0). I want to list all obsolete functions used in this project in order to change it with newer ones.
How can I treat obsolete functions warnings as errors in visual basic 2010 ms-build?