Skip to content

osx-arm64 contains x86-64 built RawFileReader.dll #205

@Begbo95

Description

@Begbo95

heya :)
excited to test the v2, but i'm running on an M4 mac, so i pulled the osx-arm64 zip. It kept crashing claiming it could not find ThermoFisher.CommonCore.RawFileReader.dll even though it's there and not quarantined. I checked the file and saw it's x86-64, not arm. Is there a fix?
cheers,
Bene

file info
➜ osx-arm64 file ThermoFisher.CommonCore.RawFileReader.dll ThermoFisher.CommonCore.RawFileReader.dll: PE32+ executable (DLL) (console) x86-64 Mono/.Net assembly, for MS Windows

the error:

2026-03-31 10:59:19 INFO Started parsing asdf.raw
2026-03-31 10:59:19 ERROR An unexpected error occured (see below)
2026-03-31 10:59:19 ERROR System.TypeInitializationException: The type initializer for 'ThermoFisher.CommonCore.Data.Business.RawFileReaderFactory' threw an exception.
 ---> System.IO.FileLoadException: ThermoFisher.CommonCore.RawFileReader.dll is not found in /Users/xxx/osx-arm64
 ---> System.IO.FileLoadException: Could not load file or assembly 'ThermoFisher.CommonCore.RawFileReader, Version=8.0.6.0, Culture=neutral, PublicKeyToken=1aef06afb5abd953'.
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at ThermoFisher.CommonCore.Data.ObjectFactory`1.Initialize(Boolean throwExceptions)
   at ThermoFisher.CommonCore.Data.ObjectFactory`1.Initialize(Boolean throwExceptions)
   at ThermoFisher.CommonCore.Data.ObjectFactory`1.Initialize()
   at ThermoFisher.CommonCore.Data.ObjectFactory`1..ctor(String extension, String typeToInitialize, String assemblyToLoad, String methodName, Boolean initialize)
   at ThermoFisher.CommonCore.Data.Business.RawFileReaderFactory.CreateReader()
   at ThermoFisher.CommonCore.Data.Business.RawFileReaderFactory..cctor()
   --- End of inner exception stack trace ---
   at ThermoFisher.CommonCore.Data.Business.RawFileReaderFactory.ReadFile(String fileName)
   at ThermoRawFileParser.RawFileParser.ProcessFile(ParseInput parseInput) in /home/vgor/build/ThermoRawFileParser/RawFileParser.cs:line 120
   at ThermoRawFileParser.RawFileParser.TryProcessFile(ParseInput parseInput) in /home/vgor/build/ThermoRawFileParser/RawFileParser.cs:line 66
2026-03-31 10:59:19 INFO Processing completed 1 errors, 0 warnings

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