Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code: After installing c# extension on arm64 machine, the document color and color presentation are not displayed. #2472

Closed
2 of 3 tasks
lemon0213 opened this issue Nov 3, 2022 · 2 comments

Comments

@lemon0213
Copy link

lemon0213 commented Nov 3, 2022

Environment data
MacOS Machine: MacOS Monterey(12.5) on M1 machine
VS Code version:1.73.0
C# Extension version:[1.25.1]
SDK: 7.0.100

Platform

  • Windows
  • macOS
  • Linux

REPRO STEPS

  1. Open a normal Terminal Emulator, create MVC project and open it using VS code
mkdir MVC3x
cd MVC3x
dotnet new mvc
code .
  1. In VS Code and go to the Extensions Tab, select "Install from VSIX" > install the file you downloaded. Wait for install successfully.
  2. Type below code to Views/Shared/_Layout.cshtml file.
    <h1 style="background-color:blue;">Hello World</h1>

NOTE:This issue only repro on M1 machine.

ACTUAL
image

EXPECTED
image

@v-sherryfan
Copy link

This issue also repro on Linux arm64 machine(Ubuntu 20.04). But you will also encounter an existing bug #6925, I am not sure if it is causing the linux arm64 machine to not display color boxes as well.

@lemon0213 lemon0213 changed the title VS Code: [Mac]After installing c# extension on M1 machine, the document color and color presentation are not displayed. VS Code: After installing c# extension on arm64 machine, the document color and color presentation are not displayed. Nov 14, 2022
@lemon0213
Copy link
Author

Change this issue path to dotnet/razor repo, so I will close it and track it throug bug #7913.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants