I’m getting this error:
The "Message" task could not be instantiated from the assembly "Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Please verify the task assembly has been built using the same version of the Microsoft.Build.Framework assembly as the one installed on your computer and that your host application is not missing a binding redirect for Microsoft.Build.Framework. Unable to cast object of type 'Microsoft.Build.Tasks.Message' to type 'Microsoft.Build.Framework.ITask'.
The "Message" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.
I have both the Microsoft.Build.Engine and Microsoft.Build.Framework assemblies referenced in my project, so I don’t really know what could be going wrong.