Blazor Server App template not working on Visual Studio 2019 v 16.11.3

  Uncategorised

I have come to an issue while trying to create new project using Blazor template in Visual Studio 2019. After creating new Blazor project using template Blazor Server App I get an error at every line which includes ‘@’ mark such as in _Host.cshtml file
first line : @page "/" .

Error CS0103 The name ‘page’ does not exist in the current context.

I am using Visual Studio Community 2019 Version 16.11.3. In the link below there is a screenshot of this error. I have installed .NET SDK Screenshot

Source: Visual Studio Questions

LEAVE A COMMENT