Blazor 智能感知不工作 visual studio 2019
blazor intellisense not working visual studio 2019
我目前正在使用 Visual studio community 2019 version 16.1.3
我创建了一个新的 Web 应用程序 - Blazor。我没有对这个新应用程序进行任何更改。
与 blazor 相关的所有内容都显示为红线,
Error CS0103 The name 'currentCount' does not exist in the current context
虽然应用程序确实 运行。我是否遗漏了一些能够与 blazor 一起使用智能感知的东西?
更新到最新的预览版是我解决问题的方法。
问题是在提出这个问题时 Blazor 还没有发布。我已经安装了 Visual studio 2019,它确实支持 blazor,但不幸的是,in intellisense 仅在 Visual studio 2019 预览版中有效。
这是上面评论之一给出的答案。
我目前正在使用 Visual studio community 2019 version 16.1.3
我创建了一个新的 Web 应用程序 - Blazor。我没有对这个新应用程序进行任何更改。
与 blazor 相关的所有内容都显示为红线,
Error CS0103 The name 'currentCount' does not exist in the current context
虽然应用程序确实 运行。我是否遗漏了一些能够与 blazor 一起使用智能感知的东西?
更新到最新的预览版是我解决问题的方法。
问题是在提出这个问题时 Blazor 还没有发布。我已经安装了 Visual studio 2019,它确实支持 blazor,但不幸的是,in intellisense 仅在 Visual studio 2019 预览版中有效。
这是上面评论之一给出的答案。