错误
Error 102 Code Analysis detected errors. See Code Analysis results window or log file for details. KickOffTitan
代码分析结果窗口
CA0001 Error Running Code Analysis
CA0001 : The following error was encountered while reading module 'KickOffTitan':
Method type parameter in position 0 is not valid.
[Errors and Warnings] (Global)
我有点暗示这可能与使用vs2012 + .net 4.0 + Microsoft.Bcl.Async
如果我删除async / await但留在TaskEx
我在位置0的许多方法类型参数无效且1
CA0001 Error Running Code Analysis CA0001 : Could not resolve reference to System.Threading.Tasks, Version=1.5.11.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. [Errors and Warnings] (Global)
如果我从异步包中删除任何东西(async / await / TaskEx),它就会编译