Resharper 突然为 Razor 语法显示红色 [英] Resharper is suddenly showing red for Razor syntax
本文介绍了Resharper 突然为 Razor 语法显示红色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不知道,突然以红色显示的 Razor 语法.我暂停并恢复并关闭VS并重新启动仍然相同.还有什么可做的吗?
I don't know, all of sudden Razor syntax showing in Red. I suspended and resumed and also closed VS and restarted still the same. Anything else to do?
推荐答案
检查/Web.config 和 Views/Web.config 中的引用.如果它们是正确的,请尝试清理并重建.如果还是不行,可以手动删除bin文件夹,VS会重新创建.
Check the references in the /Web.config and the Views/Web.config. If they are correct, try a clean and rebuild. If that still does not work, you can manually delete the bin folder and VS will recreate it anew.
这篇关于Resharper 突然为 Razor 语法显示红色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文