The current version of the native library (1.3) does not support the original or minimum version of the ".NET Framework NGEN v4.0.30319" task (1.4/1.4)
When getting the definitions of certain tasks on mostly Windows 2012 servers, I get the following error:
The current version of the native library (1.3) does not support the original or minimum version of the ".NET Framework NGEN v4.0.30319" task (1.4/1.4)
I am running this code on a Windows 7 machine. (Perhaps it needs to be run on a machine with the native library v 1.4 - i.e. a recent server edition of Windows
Any ideas? Thanks
Sorry. I just re-read your message and Windows 2012 is uplevel from Windows 7. This is the root of your problem. Windows 8/Server 2012 introduced a number of new items to tasks that cannot be understood by Windows 7. See the documentation for the TaskCompatibility enum in Task.cs for details of what's been added with each release.