Visual Studio and WPF force Windows 7 to apply basic theme

Every time I open up my WPF projects in Visual Studio (2010) and open a XAML file, my computer switches from the nice semi-transparent theme to Windows 7 Basic.

Does this happen to you too? If so, this is how to solve it:

  1. In the main menu, select “Tools/Options”
  2. Under “Environment/General”, uncheck “Automatically adjust…” and “Use hardware acceleration…”
  3. Enjoy the Windows 7 flashy theme 🙂
Easy enough, right? Rumors says that R# is causing this issue, but I love JetBrains and their God-like skills way too much to even consider that to be true.