[英]Why is the program still running while Error FS0039 The type 'JsonProvider' is not defined?
There are plenty of issues like this with F# in Visual Studio, but the situation also improves all the time in VS 2017. I believe one possible workaround for this particular issue is to restart VS. Visual Studio 中的 F# 有很多这样的问题,但这种情况在 VS 2017 中也一直在改善。我相信这个特定问题的一种可能的解决方法是重新启动 VS。
But there is also another way, which works better to avoid an inconsistent Error list pane in general.但还有另一种方法,通常可以更好地避免不一致的错误列表窗格。 Change from "Build + Intellisense" to just "Build" in the dropdown in the Error list pane, and see how that works for you.
在“错误”列表窗格的下拉列表中,从“Build + Intellisense”更改为“Build”,看看这对您有何作用。 It means you have to compile to refresh the Error list pane, but you still get (sometimes inconsistent) Intellisense help in the editor panes without having to recompile.
这意味着您必须编译以刷新错误列表窗格,但您仍然可以在编辑器窗格中获得(有时不一致)Intellisense 帮助,而无需重新编译。
If you want to know more about F# issues in VS, this is where to look: https://github.com/Microsoft/visualfsharp如果您想了解有关 VS 中 F# 问题的更多信息,请查看此处: https : //github.com/Microsoft/visualfsharp
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.