不能使用前导..退出顶级目录上方 [英] Cannot use a leading .. to exit above the top directory
本文介绍了不能使用前导..退出顶级目录上方的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我开始我的项目,我得到这个错误
I'm getting this error when I start my project
这是由CSS和JS文件在母版页造成的。
It is being caused by the css and js files in the master page.
<link href="../assets/css/jquery.ui.theme.css" rel="stylesheet" type="text/css" />
当我删除此行项目开工正常(无样式)
When I remove this line the project starts functioning correctly(without the style)
任何想法
SP
Any ideas Sp
推荐答案
由于这是ASP.NET,使用波浪号〜
标记的应用程序根目录:
Since this is ASP.NET, use a tilde ~
to mark the application root:
<link href="~/assets/css/jquery.ui.theme.css" rel="stylesheet" type="text/css" />
这篇关于不能使用前导..退出顶级目录上方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文