Re: GDMENU Card Manager
Posted: Mon Aug 02, 2021 1:21 pm
I've never tried to build with mono. I'm currently using Net Core. 3.1 to build for linux.
There's a variable in MainWindow called showAllDrives. It will list all mounted drives.
It's there for debug. In the future I should implement command line argument to set it.
Can you get this code running on mono?
This code will list mounted drives and some properties.
Please run it and find your card on the list.
There's a variable in MainWindow called showAllDrives. It will list all mounted drives.
It's there for debug. In the future I should implement command line argument to set it.
Can you get this code running on mono?
Code: Select all
using System;
using System.Linq;
public class Program
{
public static void Main()
{
Console.WriteLine("DriveType;DriveFormat;Name");
foreach(var drive in System.IO.DriveInfo.GetDrives().Where(x => x.IsReady))
Console.WriteLine($"{drive.DriveType};{drive.DriveFormat};{drive.Name}");
}
}
Please run it and find your card on the list.