为什么尝试启动任务会导致EntryPointNotFoundException?

SAJ*_*SAJ 7 c# entrypointnotfoundexcept task-parallel-library

在我的应用程序中,我有一个实用程序类,它应该并行执行一系列任务,并提供有关各种任务的成功和时间的报告.

每次运行它时,我都会得到一个EntryPointNotFoundException.

我能想出的最简单的测试案例创造了这种行为,这是无关紧要的.只是

 Task.Run(() => { Console.WriteLine("This is sanity test"); });
Run Code Online (Sandbox Code Playgroud)

不使用返回值,并且任何地方都没有自定义类抛出EntryPointNotFoundException.

VS2015图像显示代码和异常

这是在Visual Studio 2015中,该过程是64位(对于整个应用程序,它必须在Windows 7 64位上运行).它是一个.NET 4.5控制台应用程序.

是什么导致这种情况以及如何解决?