很明显,编译器需要两个型别(1) system.threading.tasks.manualresetvaluetasksourcelogic (2) system.runtime.compilerservices.istrongbox才能完成编译。感谢open source与git hub,在微软的dotnet/corclr的专案中找到了这么一段讨论~~ ,有位(应该是微软员工而且是这个专案的成员)提到『it's not missing exactly, but like said things are just out-of-sync between the compiler and library in preview 1. the compiler is looking for the old design (manualresetvaluetasksourcelogic and istrongbox) , while the libraries include the approved api surface area (manualresetvaluetasksourcecore), and we didn't have time to get the compiler updated.』,简单说就是编译器和框架目前的更新进度不一致,导致少了点什么。既然如此,我们就遵照本草纲目的指示,补上这两个型别,请注意,这两个型别的命名空间必须正确: