-
Notifications
You must be signed in to change notification settings - Fork 14
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
Getting exception thrown on Arch Linux e.g: Manjaro XFCE (Virtual Machine) #4
Comments
Hi, Thanks for the info. Actually I've not tested my code in any Arch Linux for example Manjaro. Actually another thing that worries me is the Virtual Machine. I will definitely run the code on a virtual machine to see if by any chance there are some missing info. |
I will try to install rider on the VM and find a fix, however I'm new at coding so if I'm not able to find a solution I'll add another comment. |
Found the issue, when
Probably the issue happens only in VMs, I cannot test it since I do not have a linux machine |
Hi, on freshly installed Manjaro XFCE VM I get the following exception
Unhandled exception. System.TypeInitializationException: The type initializer for 'TEST.Program' threw an exception.
---> System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.First[TSource](IEnumerable'1 source, Func'2 predicate)
at libc.hwid.HwId.Dmidecode(String query, String find)
at libc.hwid.HwId.GetInfo(Hardware hw)
at libc.hwid.HwId.Generate()
How is the code used
I have the class User with the field public static string UUID
In that class there is a constructor that has the following code
public User() { UUID = libc.hwid.HwId.Generate(); }
The exception is thrown when I create a new user object with
static User user = new User();
This works fine on windows
The text was updated successfully, but these errors were encountered: