老衲

^_^劫色的.net
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

vs.net2003创建新页面时没有生成cs文件

Posted on 2007-02-14 11:23  xiangxiang  阅读(505)  评论(0编辑  收藏  举报
硬件环境:windows2000/xp .net framework 1.1
   IDE : vs.net 2003英文版
在创建一新页面时出现这个错误提示,并且没有.cs文件生成
双击aspx文件也有同样的错误:
The class file 'WebForm1.aspx.cs' specified as the codebehind for 'WebForm1.aspx' could not be loaded. Make sure that the codebehind attribute in the page or control directive properly references an existing code behind file


解决办法: tools - options - Environment - International settings - language 在下拉框中选择 Same as Microsoft Office 保存即为OK
如果你看到的是中文菜单:即为tools - 选项 - 环境 - 区域设置 - 语言 在下拉框中选择 Same as Microsoft Office 保存
 英文版的vs.net2003如果在此选为中文的话就会出现上述问题