Skip to content

Error: Invalid setting 'RunConfiguration'. Invalid value 'arm64' specified for 'TargetPlatform'. #42017

@vcsjones

Description

@vcsjones

I'm trying to run tests on an ARM64 environment and run in to the following output when executing dotnet test:

Settings file provided does not conform to required format. An error occurred while loading the settings. Error: Invalid setting 'RunConfiguration'. Invalid value 'arm64' specified for 'TargetPlatform'.

My usual testing strategy works on x86-64, so I'm not sure if I should be running tests differently on ARM64 or if what I was doing worked by accident.

My steps are:

  1. Build ./build.sh -rc Release -s clr+libs
  2. Ensure the local .dotnet/dotnet is on the PATH.
  3. cd src/libraries/System.Security.Cryptography.X509Certificates/tests
  4. dotnet build
  5. dotnet test

Step 5 is where I get the error.

This is on ARM64 Ubuntu 18.04.5 environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions