错误
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)中删除任何东西,它会编译