构建失败后发布
问题描述:
我正在使用Web应用程序部署在IIS上发布。起初,我已将我的网站转换为网络应用程序。我的应用程序在我的VS2005上编译和构建。但是当我尝试通过CC.net运行它。它出现了100多个错误。以下是在同一个文件中不断重复的一些错误的列表。构建失败后发布
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'.
任何一个PLZ让我知道为什么我的构建与这些错误失败。由于函数在基类中是可覆盖的,并且还声明了名称
答
您是否试图将其作为网站(而不是应用程序)上载到您的托管? 我总是只上传没有任何构建的网站,它运行良好。