我正在尝试使用Heroku dotnet-buildpack将ASP.NET 5应用程序部署到Heroku 。这是通过Visual Studio 2015创建的全新应用程序,我尚未进行任何代码修改。部署时,出现错误:
remote: Downloading dnvm as script to '/app/.dnx/dnvm'
remote:
remote: Appending source string to /app/.profile
remote: Type 'source /app/.dnx/dnvm/dnvm.sh' to start using dnvm
remote: Architecture must be x86 or x64.
remote:
remote: ! Push rejected, failed to compile ASP.NET 5 app
remote:
remote: Verifying deploy...
在我的global.json中,我已将架构指定为“ x86”。
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-beta5",
"runtime": "clr",
"architecture": "x86"
}
}
如何配置我的应用程序以解决此错误?
任何帮助表示赞赏。
我的解决方案在这里https://github.com/heroku/dotnet-buildpack/issues/4描述。希望这可以帮助
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句