Closed MosesHe closed 8 years ago
And here is the mono version. Mono JIT compiler version 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:34:50 UTC 2016) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: normal Notifications: epoll Architecture: armel,vfp+hard Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen
Looks like there is a problem with your version of mono. Archi will tell you this isn´t the Mono-Support. ;)
I´m using this Mono-Version: Mono JIT compiler version 4.2.2 (Stable 4.2.2.30/996df3c Mon Feb 15 17:30:30 UTC 2016)
Also have a look here on how to install Mono: https://github.com/JustArchi/ArchiSteamFarm/wiki/Mono
Raspberry Pi is non-standard ARM device, and you can't use Mono from Xamarin, as your device doesn't fully implement the standard of ARMv7.
Your best bet is switching to debian testing branch and using mono from there, and remember to use raspbian and not debian because it's exactly the same story.
Archi will tell you this isn´t the Mono-Support
Also this, while I'm always happy to help with Mono issues, potentially helping solving problems, this is out of the scope of ASF as you should be the one who ensures that Mono is working on your system. Raspberry PI is special case, as you're indeed trying to use latest Mono, but you can't because of your device.
So, in short
apt-get update && apt-get dist-upgrade && apt-get autoremove --purge
reboot
, do apt-get install mono-complete
The mono you will get from testing branch is NOT the latest Mono, but it's recent enough to run ASF without problems. Last time I checked it was version 4.2.1.
@JustArchi Thank you for your patient replies. I will have a try.:)
I faced the same issue when updating my Ubuntu
machine, thus upgrading mono
.
I did following two steps and solved.
sudo apt-get install mono-devel
mozroots --import --sync
Sorry. I clicked the comment by mistake when I didn't finish typing. Here is the issue.
When I use command "mono ACF.exe" on my Raspberry Pi, I got this problem.
root@raspberrypi:/home/pi/Downloads/ASF# sudo mono ASF.exe
Unhandled Exception: System.TypeInitializationException: The type initializer for 'ArchiSteamFarm.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' --- End of inner exception stack trace --- [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'ArchiSteamFarm.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' --- End of inner exception stack trace ---
What should I do?