Razor Language Services extension is crashing VS2017

匆匆过客 提交于 2019-12-24 11:44:38

问题


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.

来源:https://stackoverflow.com/questions/46026578/razor-language-services-extension-is-crashing-vs2017

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!