发布后构建失败
我正在使用 Web 应用程序部署在 IIS 上发布。 首先,我将我的网站转换为网络应用程序。 我的应用程序在我的 VS2005 上编译和构建得很好。 但是当我尝试通过 CC.net 运行它时。 它出现了数百个错误。 以下是在同一文件中不断重复的一些错误的列表。
errorBC30284: function 'GetCannotChangeMessage' cannot be declared 'Overrides' because it does not override a function in a base class.
errorBC30451: Name 'GetAndChangesCanBePerformed' is not declared.
errorBC30456: 'GetStatusMessage' is not a member of 'Object'.
请任何人告诉我为什么我的构建因这些错误而失败。 由于函数在基类中是可重写的,并且声明的名称也是如此
I am using Web Application Deployment for publishing on IIS. At first I have converted my website to a web application. My application compiles and build fine on my VS2005. But when I try to run it via CC.net. It comes up with a 100's of errors. Following is the list of someof the errors that keep repating in the same file.
errorBC30284: function 'GetCannotChangeMessage' cannot be declared 'Overrides' because it does not override a function in a base class.
errorBC30451: Name 'GetAndChangesCanBePerformed' is not declared.
errorBC30456: 'GetStatusMessage' is not a member of 'Object'.
Any one plz let me know why my build is failing with these errors. As functions are overridable in base class and also names declared
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试将其作为网站(而不是应用程序)上传到您的托管?
我总是只上传网站而不进行任何构建,并且运行良好。
Did you try to just upload it as a web site ( not application) to your hosting ?
I always just upload web site without any builds and it's run fine.