发布后构建失败

发布于 2024-07-24 23:33:28 字数 499 浏览 4 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

独留℉清风醉 2024-07-31 23:33:28

您是否尝试将其作为网站(而不是应用程序)上传到您的托管?
我总是只上传网站而不进行任何构建,并且运行良好。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文