我使用 Visual Studio 2012 for Web Express 在 ASP.Net 4.5 中开发了一个 Web 表单。它托管在 somee.com 上。当页面加载时,我收到以下错误:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Unknown server tag 'webopt:BundleReference'.
Source Error:
Line 9: <%: Scripts.Render("~/bundles/modernizr") %>
Line 10: </asp:PlaceHolder>
Line 11: <webopt:BundleReference runat="server" Path="~/Content/css" />
Line 12: <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
Line 13: <meta name="viewport" content="width=device-width" />
Source File: /Site.Master Line: 11
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929