【发布时间】:2012-12-02 16:33:04
【问题描述】:
我在 GitHub 文件夹上有一个私有存储库,我想推送 AppHarbor,为此我已经在那里创建了应用程序,并使用以下选项映射了 GitHub 存储库。
配置 GitHub 以部署到 AppHarbor
但是我得到了失败的状态,并注意到我需要将 AppHarbor 应用程序指向子文件夹(WWWroot- 我的 Web 文件所在的位置),目前它尝试与 root 进行映射并导致错误。那么如何将 AppHarbor 指向 Github 存储库的子文件夹?
更新
映射 github 存储库后,我在 apphabor 上遇到以下错误
D:\temp\4j3jxorb.0qb\output\_PublishedWebsites\WebMatrixWebsite\src\web.config(65): error ASPCONFIG: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
我认为根目录上没有解决方案文件,因此它将被视为 webmatrix 项目。但是在 github 上,我已将 asp.net 网站的源代码放在 src 文件夹以及已发布版本的 wwwroot 文件夹中,那么 appharbor 将如何考虑首先构建?
【问题讨论】: