OS:WIN2003
IDE:VS.NET2003
在创建一新页面时出现这个错误提示,并且没有.cs文件生成。如果手工建一个cs文件放上去就可以了,不过这样很麻烦。
哪位高手能够解决这个问题?---------------------------
Microsoft Development Environment
---------------------------
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.
---------------------------
确定
---------------------------以前是可以用的。
怀疑是IDE和系统的问题,最后重装过还是有这个问题,实在不解。
有另一台机器:OS:win2000,安装后没有这个问题。
IDE:VS.NET2003
在创建一新页面时出现这个错误提示,并且没有.cs文件生成。如果手工建一个cs文件放上去就可以了,不过这样很麻烦。
哪位高手能够解决这个问题?---------------------------
Microsoft Development Environment
---------------------------
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.
---------------------------
确定
---------------------------以前是可以用的。
怀疑是IDE和系统的问题,最后重装过还是有这个问题,实在不解。
有另一台机器:OS:win2000,安装后没有这个问题。
'WebForm1.aspx' 里面的
Codebehind="WebForm1.aspx.cs" 是否正确
另外这2个文件是否在同一目录下
'WebForm1.aspx' 里面的
Codebehind="WebForm1.aspx.cs" 是否正确
另外这2个文件是否在同一目录下
不行的!
----------------------------------------------即使手工建一个cs文件放上去就可以编译,但却没办法进入设计页面,同样显示上面提到的错误并进入HTML页面
这些都没有问题,因为页面在其它机器上是正常的。