Visual studio 2017 code color issue after update

2019-01-25 07:37发布

I used to work comfortably with the Dark theme of VS. Today, I updated my VS to v.15.2(26430.4), but it suddenly run into a visual problem.

The colours of the code in Dark mode are terrible. I almost cannot see them clearly.

Any way to fix it? Thanks

enter image description here

5条回答
地球回转人心会变
2楼-- · 2019-01-25 07:52

They fixed problem and pushed another update today. Here's the release notes:

Release Date: May 12, 2017 - Visual Studio 2017 version 15.2 (26430.06) Issues Fixed in this Release This is the customer-reported issue addressed in this version:

The v15.2 dark color theme fails to load after F# component in .NET workload is installed.

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes

查看更多
爷、活的狠高调
3楼-- · 2019-01-25 08:00

I am a dev. on the Visual Studio team. There are currently two official workarounds:

  1. Uninstall the F# language support via the VS installer.
  2. Ctrl+Q and search for 'theme' and select 'Environment -> General' and then switch from one theme to another and press 'Ok', then, repeat and switch back.

NOTE: Workaround #2 is only temporary. Installing a new extension or update will revert the colors back to their current state.

查看更多
啃猪蹄的小仙女
4楼-- · 2019-01-25 08:08

This happened to me (amongst others)

Restarting VS fixed it. (No options changes, just exit and start again.)

UPDATE: This is on the user feedback site and should be fixed by updating to 15.2 (26430.06) (published 12 May).

查看更多
不美不萌又怎样
5楼-- · 2019-01-25 08:09

Restarting VS did not work for me.

I fixed it like this: In VS go to Tools -> Options -> Environment -> General -> Color theme. Switched to Light, clicked OK and then changed back to Dark. After this everything looked normal.

查看更多
男人必须洒脱
6楼-- · 2019-01-25 08:14

I found some workarounds

  1. by unchecking the Enable rich client visual experience. And then restart VS.

enter image description here

  1. Another method is to choose color theme to Light and switch back to Dark again.
查看更多
登录 后发表回答