I’m using Visual Studio 2013 Professional. I created a CPP project so I could start playing around with the code and getting a feel for how things work, but out of the box, with no code changes whatsoever, I’m getting a compilation error. I am guessing the error is somehow related to my unique setup, though I can’t imagine what I’m doing wrong. The error doesn’t mean enough to me to give me an idea what I need to fix.
Error 14 The “SetEnv” task could not be instantiated from the assembly “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Build.CppTasks.Common.dll”. 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.CPPTasks.SetEnv’ to type ‘Microsoft.Build.Framework.ITask’. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.targets 67 5
Any assistance would be much appreciated.