我需要为一个开始位置设置自定义web.config设置“”:<location>路径属性必须是相对虚拟路径:位置以“。”开头。
<location path=".somepath">
不幸的是,ASP.NET似乎并不喜欢用句点开始的路径。我收到以下错误:
Configuration Error:
<location> path attribute must be a relative virtual path. It cannot start with any of ' ' '.' '/' or '\'.
有没有解决方法?