I have implemented a custom BuildTask and set the build engine in it. But while executing the code, I am getting this exception
Method not found: 'Void Microsoft.Build.Utilities.Task.set_BuildEngine(Microsoft
.Build.Framework.IBuildEngine)'.
What can be possible cause of this?
You may be using two different versions of the Microsoft Build Framework (Microsoft.Build.Framework). Check the version numbers in the item properties to make sure they're not different (e.g. my issue - Version 4.0.0.0 and Version 14.0.0.0)