简体   繁体   English

.net mvc已更新-web.config中无法识别名称空间

[英].net mvc updated - namespaces not recognized in web.config

I updated some project files like jQuery, added Bootstrap. 我更新了一些项目文件,例如jQuery,添加了Bootstrap。 I just clicked Update all in my project through packager. 我只是单击通过打包程序更新项目中的全部。

Now I checked my web.config and some namespaces are not recognized: 现在,我检查了我的web.config,并且无法识别某些名称空间: 在此处输入图片说明

Which makes another stuff on website non recognizable: 这使得网站上的其他内容无法识别: 在此处输入图片说明

Page works normal though. 页面正常工作。 What can I do here? 我在这里可以做什么?

This is probably caused by ReSharper. 这可能是由R​​eSharper引起的。 Try clearing the cache : ReSharper -> Options -> General -> Clear Cache and restart Visual Studio. 尝试清除缓存:ReSharper->选项->常规->清除缓存,然后重新启动Visual Studio。

似乎您实际上没有引用mvc库或只是reshaper的错误

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM