.net Visual Studio开发服务器-CSS丢失。IIS服务器上的服务器正在工作

.net Visual Studio开发服务器-CSS丢失。IIS服务器上的服务器正在工作,.net,css,iis,aspnet-development-server,.net,Css,Iis,Aspnet Development Server,当我使用Visual Studio Development Server时(http://localhost:64217/application)CSS丢失并且Chrome显示以下警告和错误: Resource interpreted as Stylesheet but transferred with MIME type text/html: Uncaught SyntaxError: Unexpected token < 所有其他CSS文件都包含在App\u Themes/Defa

当我使用Visual Studio Development Server时(
http://localhost:64217/application
CSS
丢失并且
Chrome
显示以下警告和错误:

Resource interpreted as Stylesheet but transferred with MIME type text/html: 
Uncaught SyntaxError: Unexpected token <
所有其他
CSS
文件都包含在
App\u Themes/Default
中,并包含在
web.config
中:

<pages theme="Default" />


您在
上缺少
type=“text/css”
。正确的声明是:
为什么需要
runat=“server”
?(/cc@Caelea)“资源被解释为样式表,但使用MIME类型text/html传输”消息表明浏览器返回的是html而不是css。。。那么:如果导航到css url,会得到什么?也许是死亡的黄屏?@MarcGravel我得到的是没有css的正常行html页面。我在Chrome的错误日志中发现了错误。关于
runat=“server”
-我已经用谷歌搜索了错误,有一些建议包括
runat=“server”
,但仍然不起作用。@Caelea我已经从JQuery移动网站复制了include引用。我刚刚添加了
runat=“server”
。不管怎样,我试过你的建议,但还是不起作用:(
<pages theme="Default" />