Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

"Architecture must be x86 or x64" Error when deploying ASP.NET 5 Application #4

@drewsheneman

Description

@drewsheneman

I am attempting to deploy an ASP.NET 5 Application to Heroku using the dotnet-buildpack. This is a brand new application created through Visual Studio 2015, I have not yet made any code modifications. While deploying, I get the error:

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 have specified the architecture as "x86".

{
  "projects": [ "src", "test" ],
  "sdk": {
    "version": "1.0.0-beta5",
    "runtime": "clr",
    "architecture": "x86"
  }
}

How can I configure my application to resolve this error?

Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions