I am using msbuildtask to validate an xml file on Build. I am able to do that using the Execute method after extending Task. Am not able to display Custom Warnings or messages stating the reason for build fail. Is there any custom way to throw compiler warning from code?
I found that using ITask interface gives us some additional power of interaction with Msbuild engine than Task interface.