Fixing razor intellisense

Written on September 11, 2017

I recently found myself unable to use the intellisense for razor pages in Visual Studio Community edition. The fix is relatively simple albeit not obvious. Simply go to Tools -> Options -> Environment -> General and uncheck Automatically adjust visual experience base on client performance as well as both Enable rich client visual experience and Use hardware graphics acceleration if available.

Visual Studio 2017 Community Edition screenshot of general environment options

The only other workaround is to close the file without intellisense and reopen it.