Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not run in Mac OS 13.6 #133

Open
trinhxt opened this issue Nov 7, 2023 · 0 comments
Open

Could not run in Mac OS 13.6 #133

trinhxt opened this issue Nov 7, 2023 · 0 comments

Comments

@trinhxt
Copy link

trinhxt commented Nov 7, 2023

Hi,

I could run FlashLFQ normally on Windows and Linux, but it was not executable in Mac OS 13.6. I have dotnet 6.0.416 installed, and downloaded FlashLFQ 1.2.5.

The output when running dotnet CMD.dll --idt is:

Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.BadImageFormatException: Could not load file or assembly 'FlashLFQ, Version=1.0.541.0, Culture=neutral, PublicKeyToken=null'. An attempt was made to load a program with an incorrect format.

File name: 'FlashLFQ, Version=1.0.541.0, Culture=neutral, PublicKeyToken=null'
   at Util.FlashLfqSettings..ctor()
   at System.RuntimeType.CreateInstanceOfT()
   --- End of inner exception stack trace ---
   at System.RuntimeType.CreateInstanceOfT()
   at System.Activator.CreateInstance[T]()
   at CommandLine.Core.InstanceBuilder.<>c__0`1.<Build>b__0_0(Func`1 f)
   at CSharpx.MaybeExtensions.MapValueOrDefault[T1,T2](Maybe`1 maybe, Func`2 func, T2 noneValue)
   at CommandLine.Core.InstanceBuilder.Build[T](Maybe`1 factory, Func`3 tokenizer, IEnumerable`1 arguments, StringComparer nameComparer, Boolean ignoreValueCase, CultureInfo parsingCulture, Boolean autoHelp, Boolean autoVersion, IEnumerable`1 nonFatalErrors)
   at CommandLine.Parser.ParseArguments[T](IEnumerable`1 args)
   at CMD.FlashLfqExecutable.Main(String[] args) in C:\projects\flashlfq\CMD\FlashLFQExecutable.cs:line 21
zsh: abort      dotnet CMD.dll

Any idea about the errors? The output mentioning FlashLFQ version of 1.0.541.0 is quite strange because I downloaded the latest version of FlashLFQ (1.2.5)

Thank you in advance!

@trinhxt trinhxt changed the title Could not run in Mac OS Could not run in Mac OS 13.6 Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant