Visual studio 2017 code color issue after update

后端 未结 6 1184
感情败类
感情败类 2021-02-13 05:01

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 t

相关标签:
6条回答
  • 2021-02-13 05:16

    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

    0 讨论(0)
  • 2021-02-13 05:20

    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.

    0 讨论(0)
  • 2021-02-13 05:25

    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.

    0 讨论(0)
  • 2021-02-13 05:27

    I found some workarounds

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

    1. Another method is to choose color theme to Light and switch back to Dark again.
    0 讨论(0)
  • 2021-02-13 05:30

    I have solved this problem.

    In the Tools >> Option >> Text Editor >> C# >> Advanced >> Editor Color Scheme >> select different visual studio version

    0 讨论(0)
  • 2021-02-13 05:34

    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).

    0 讨论(0)
提交回复
热议问题