Skip to content

F# compilation for linux-arm (Raspberry Pi) results in System.BadImageFormatException. #13805

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:I'm unable to use this version] [regression] [worked-in:VS 17.3.0]
Create new F# Console app in VS (Windows/Mac).
Compile targeting linux-arm, self-contained=true.
Run on a Raspberry Pi.

Result:
Unhandled exception. System.BadImageFormatException: Could not load file or assembly '/home/pi/Test.dll'. An attempt was made to load a program with an incorrect format.

File name: '/home/pi/Test.dll'
Aborted

This occurs after updating Visual Studio on both Windows and Mac to 17.3.1.
I tried using VS 17.3.0 which I haven't updated yet on my laptop, and it ran fine on a Raspberry Pi.


Original Comments

Feedback Bot on 8/22/2022, 08:04 AM:

(private comment, text removed)


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions