I Have created a build definition for ASP.net core 2.2 application on .sln file, i intensionally commited wrong code which i will get build error in visual studio 2017, but when build definition is run build task it is not showing any error and build is also passing ....please help me
following picture are my build definition






