我被困了.. Razor不再在VS2013中工作了,我在浏览器中收到此消息:我相信它会在消息中missing a section declaration但我不知道该怎么做..请帮助!
HTTP错误500.19 - 内部服务器错误无法访问请求的页面,因为页面的相关配置数据无效.
Run Code Online (Sandbox Code Playgroud)Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x80070032 Config Error The configuration section 'system.web.webPages.razor' cannot be read because it is missing a section declaration`
所有.cshtml文件都显示所有关键字的错误.
还要从web.config中获取警告:
无法找到元素的架构信息... (约15个元素)
我正在运行以下版本:
这是整个web.config:
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 …Run Code Online (Sandbox Code Playgroud)