Visual studio - Using "Go To Definition" on unity namespaces causes grey text

EDIT: Updating visual studio to 17.10 fixes the issue.

When using Go To Definition on a unity namespace, if I close the tab and open it a second time, the text will lose all color. Closing and reopening visual studio resets this.

What is the fix for this in visual studio?