为什么我在VS 2017中获得TaskCanceledException?

时间:2017-03-09 03:43:39

标签: visual-studio exception f# compiler-warnings

我安装了全新的Visual Studio 2017,现在我在Error List窗口看到了这个警告:

Analyzer 'Microsoft.VisualStudio.FSharp.Editor.SimplifyNameDiagnosticAnalyzer' threw an exception of type 'System.Threading.Tasks.TaskCanceledException' with message 'A task was canceled.'.

错误行是1.

即使我仅使用以下代码启动新项目,也会生成警告:

let add x y = x + y

printfn "%i" (add 39999 500000)

[<EntryPoint>]
let main argv = 
    printfn "%A" argv
    0 // return an integer exit code

运行上面的代码后,警告不会立即出现。屏幕上显示需要一段时间。

有关正在发生的事情的任何想法?

0 个答案:

没有答案
相关问题