I recently updated my VS 2017 to address git vulnerability issue and now it seems like it keeps crashing when I build my solution from the command line -- if I have a Razor view open in the editor. It restarts VS2017 with a yellow bar:
A Previous session terminated unexpectedly. Disabling extension 'Razor Language Services 15.3.30918' might help prevent similar issues. Disable this extension...
I tried disabling the extension but then it can't open my Razor views because it doesn't have Razor available. So I tried uninstalling it, which also removed ASP.net. I reinstalled everything but it continues to give me the same error.
If I close the razor view before building it won't crash.
VS2017 is version: 15.3.3. Core Razor Language Services is version 1.0.
Update: problem resolved by removing all existing installations of VS2017 and re-installing updated version 15.7.3 and have had no further problems with open razor views since then.