I am getting following error while Automating my build. I am using Visual Studio Team Services (was VSO) and Visual Studio 2015.
[error]System.Exception: Task VSBuild failed. This caused the job to fail. Look at the logs for the task for more details.
[error] at Microsoft.TeamFoundation.DistributedTask.Worker.JobRunner.Run(IJobContext jobContext, IJobRequest job, IJobExtension jobExtension, CancellationTokenSource tokenSource)
Please find the attached images for details which I have mentioned while creating Automate Build Definition.
I don't understand why the Task VSBuild failed. This caused the job to fail.
error is coming.