博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

VS文件名的限制

Posted on 2009-03-04 13:51  ppchen(陈荣林)  阅读(262)  评论(0编辑  收藏  举报

记录一下今天遇到的一个问题,当我将一个css文件重命名为con.css的时候报了以下错误:

---------------------------
Microsoft Visual Studio
---------------------------
Item and file names cannot:
- contain any of the following characters: / ? : & \ * " < > | # %
- contain Unicode control characters
- contain surrogate characters
- be system reserved names, including 'CON', 'AUX', 'PRN', 'COM1' or 'LPT2'
- be '.' or '..'
Please enter a valid name.
---------------------------
确定  
---------------------------

此外定义了一个HttpHandler,路径为con.aspx也不能被正常访问。浪费时间去调试。