I am trying to deploy an ASP.NET 5 application in Heroku using Heroku dotnet-buildpack . This is a brand new application created using Visual Studio 2015, I have not made any code changes yet. When deploying, I get an error message:
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...
In my global.json, I called the architecture "x86".
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-beta5",
"runtime": "clr",
"architecture": "x86"
}
}
How to configure the application to resolve this error?
Any help is appreciated.
source
share