Linda Lawton - DaImTo
Linda Lawton - DaImTo

Reputation: 116878

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. I have made no changes to this new application.

Everything blazor related is showing up with the red line and

Error CS0103 The name 'currentCount' does not exist in the current context

enter image description here

The application does run though. Am i missing something to be able to use the intellisense with blazor?

Upvotes: 1

Views: 4991

Answers (2)

Linda Lawton - DaImTo
Linda Lawton - DaImTo

Reputation: 116878

The problem is that at the time of this question Blazor is still not released. I had installed Visual studio 2019 which did have blazor support but unfortunately the in intellisense only worked in Visual studio 2019 preview.

This is the anwser that was given in one of the comments above.

Upvotes: 3

Max Taylor-Hayden
Max Taylor-Hayden

Reputation: 170

Updating to the latest preview version is what fixed it for me.

Upvotes: 2

Related Questions