简体   繁体   English

blazor 智能感知无法正常工作 Visual Studio 2019

[英]blazor intellisense not working visual studio 2019

I am currently using Visual studio community 2019 version 16.1.3 I created a new web application - Blazor.我目前使用的是Visual studio community 2019 version 16.1.3我创建了一个新的 Web 应用程序 - Blazor。 I have made no changes to this new application.我没有对这个新应用程序进行任何更改。

Everything blazor related is showing up with the red line and与 blazor 相关的所有内容都显示在红线上

Error CS0103 The name 'currentCount' does not exist in the current context错误 CS0103 当前上下文中不存在名称“currentCount”

在此处输入图片说明

The application does run though.该应用程序确实运行。 Am i missing something to be able to use the intellisense with blazor?我是否缺少能够将智能感知与 blazor 一起使用的东西?

The problem is that at the time of this question Blazor is still not released.问题是在提出这个问题时,Blazor 还没有发布。 I had installed Visual studio 2019 which did have blazor support but unfortunately the in intellisense only worked in Visual studio 2019 preview.我已经安装了 Visual Studio 2019,它确实有 blazor 支持,但不幸的是 inintellisense 仅在 Visual Studio 2019 预览版中有效。

This is the anwser that was given in one of the comments above.这是上述评论之一中给出的答案。

更新到最新的预览版本是为我修复它的原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2019 进入定义状态,Intellisense 不起作用 - Visual studio 2019 go to definition and Intellisense not working Visual Studio 2019 智能感知替换 - Visual Studio 2019 Intellisense replace Visual Studio 2019 观察 Window:IntelliSense 完成 - Visual Studio 2019 Watch Window: IntelliSense Completion 用于 UnityEngine 的 Visual Studio Intellisense 无法正常工作 - Visual Studio Intellisense for UnityEngine not working Visual Studio IntelliSense 无法正常工作 - Visual studio IntelliSense not working correctly MS Visual Studio 2019 C# 智能感知建议未显示,但按 Tab 键时自动完成工作正常 - MS Visual Studio 2019 C# intellisense suggestions not showing up, but autocomplete when pressing tab is working 从 Visual Studio 2019 中的 C# 解决方案返回 cmake 项目时,Resharper 智能感知停止工作 - when going back to cmake project from C# solution in visual studio 2019 Resharper intellisense stops working Visual Studio 2019 Intellisense for Linq 加入课程未出现 - Visual Studio 2019 Intellisense for Linq Joined To Class Not Appearing Visual Studio 2019:Intellisense 无法识别引用的程序集 - Visual Studio 2019: Intellisense does not recognize assemblies as referenced Visual Studio 2019 IntelliSense 已更改(如何获取先前的行为?) - Visual Studio 2019 IntelliSense changed (how to get prior behavior?)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM