Skip to content

VS Code Razor syntax highlighting and intellisense not working #3383

@pheuter

Description

@pheuter

Screenshot

Annotation 2019-10-30 130044

Versions

  • Visual Studio Code:
Version: 1.39.2 (user setup)
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:35:18.241Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
Mono Information OmniSharp using built-in mono
Dotnet Information .NET Core SDK (reflecting any global.json): Version: 3.0.100 Commit: 04339c3a26

Runtime Environment:
OS Name: debian
OS Version: 10
OS Platform: Linux
RID: debian.10-x64
Base Path: /usr/share/dotnet/sdk/3.0.100/

Host (useful for support):
Version: 3.0.0
Commit: 7d57652f33

.NET Core SDKs installed:
3.0.100 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions
Extension Author Version
azure-account ms-vscode 0.8.6
azure-pipelines ms-azure-devops 1.157.4
csharp ms-vscode 1.21.5
docomment k--kato 0.1.8
rest-client humao 0.22.2
vscode-html-css ecmel 0.2.3
vscodeintellicode VisualStudioExptTeam 1.2.0

Additional Context

The app is being developed inside a container using Visual Studio Code Remote - Containers.

This same ASP.NET Core Blazor Server app works fine with proper Razor syntax highlighting and intellisense in Visual Studio 2019 v16.3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    RazorTriagedfixedFixed and available in the stable version of C# Extension.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions