相关疑难解决方法(0)

如何删除没有找到关于glyphicons-halflings-regular.woff2的错误

ASP.NET MVC4 Bootstrap 3应用程序从Microsoft Visual Studio Express 2013 for Web IDE运行.

Chrome控制台始终显示错误

http://localhost:52216/admin/fonts/glyphicons-halflings-regular.woff2
Failed to load resource: the server responded with a status of 404 (Not Found)
Run Code Online (Sandbox Code Playgroud)

此文件存在于解决方案资源管理器的fonts目录中.构建操作设置为"内容",复制到输出目录为"不要像其他字体文件一样复制".使用NuGet将Bootstrap 3添加到解决方案中.如何解决这个问题,以免发生此错误?应用程序正确显示Glyphicon和FontAwesome图标.此错误始终在应用程序启动时发生.

asp.net-mvc visual-studio asp.net-mvc-4 twitter-bootstrap glyphicons

94
推荐指数
4
解决办法
9万
查看次数