I need programmatically get all storage drives available in a linux system with the following fields:
Path
File System (FAT32, NTFS, etc)
Containing Physical Disk
It need to support all common storage types: hard disks, Disk-On-Keys, CdRom, Dvd, etc.
How to do this from C# to run well from MONO?
...
Is it possible to access the "errno" variable in C# when P/Invoking? This is similar to Win32 GetLastError().
...
I'm developing a huge console application for Unix using C# via Mono.
If I develop that app using M Visual Studio and .NET 3.5 and I carefully neglect to use win32 specific API calls, should I expect that application to automatically work in my Unix box? Or should I just get MonoDevelop and go the Mono way?
...
I am trying to optimize multiple connections per time to a TCP socket server.
Is it considered good practice, or even rational to initiate a new thread in the listening server every time I receive a connection request?
At what time should I begin to worry about a server based on this infrastructure? What is the maximum no of background...
I have some code in an XML file that I load and compile at runtime in an application.
This works fine on Windows, but under Mono I get assembly reference errors. Here's the examine code in question:
public static bool CompileSpell(Spell spell)
{
CSharpCodeProvider prov = new CSharpCodeProvider();
CompilerParame...
Hi,
In my Mono (C#) project that is meant to be cross-platform, I am using the GTK for the UI. However one thing I noticed is, on my netbook in Archlinux, the performance is really speedy, so events such as mouse hover, and redrawing of widgets, etc, are really fast.
Compared to windows (7) on dual core CPUs, the performance is really ...
Hi all.
I have the code below for getting a list of child processes on windows by interop'ing with ntdll. Is there an equivalent to 'NtQueryInformationProcess' on Linux, which get's me the process id of the parent of a specified process (like pbi.InheritedFromUniqueProcessId)? I need the code to run on Linux through Mono so hopefully I a...
I've seen that ADO.NET 2.0 is compatible with Mono but I can't found any example of that in the web ?
...
Although Mono support is not a big deal for us, I figured OpenRasta supported it cause it has some commit messages about it..
Well, I tried to build it on Mono and got Ambiguous type references(after manually creating like 10 obj directories.) So I tried just using the prebuilt assemblies I had on hand and that gave me an Object Refere...
I would like to develop Mono application for Win/Linux/Mac in C# on Windows. Is there any really good (Visual Studio comparable) IDE for that? The best would be if I could manage Visual C# Express to compile solutions using the Mono compiler.
I've found a #develop IDE, which looks very cool and has many features that Express edition of ...
Hi everyone,
I use MonoDevelop 2.2.2 with Mono 2.6.3 on OpenSuse so the linq to sql feature is implemented. But I have the problem I can create a new connexion to a postgresql database it's ok but when I click in Tool -> Generate Data classes and select the connexion I've created before I obtain nothing, no tables appear.
What's the pr...
Are there any unit-testing and mocking frameworks for C# that run on Mono ?
...
I have some C#.NET code to take a string containing custom color codes and use them show colorized text in a RichTextBox. It works great on Windows, but running under Linux on Mono 2.4.2.3 I get this error:
RTF Parsing failure: Malformed color entry
RTF Stream Info: Pos:324 Line:1
TokenClass:Text, Major:8, Minor:0, Param:-10000000, Tex...
This is the error I get when I start my ASP.NET application in Mono:
System.InvalidOperationException: The process must exit before getting the requested information.
at System.Diagnostics.Process.get_ExitCode () [0x00044] in /usr/src/mono-2.6.3/mcs/class/System/System.Diagnostics/Process.cs:149
at (wrapper remoting-invoke-with-che...
I have a worker thread spawned from a GUI (for GUI performance), how do I access GUI, such as spawning new windows/widgets from the thread itself?
I tried using delegates but it doesn't seem to be working. Any ideas? Possibly examples? Thank you.
...
Hello guys!
To store application settings, I am using the Settings tab in the project properties. In the code, I write Settings.Default.FontSize = size; and then Settings.Default.Save();
When I close the application and run it again the new value of the setting should be there. And yes, it is working properly on Windows, with Mono 2.4 o...
I'm using Mac Snow Lepord and can't find "~/.config/MonoDevelop/" for the life of me. I have MonoDevelop (v2.2.2) up and running already, but when I tried to set up a template the IDE started having problems.
Namely, whenever I went to Monodevelop -> preferences-> Code Templates I would get an error saying "Argument cannont be null".
I...
Just wondered how many application are written with MonoTouch and published in App Store?
Is MonoTouch ready to be used in production?
What other statistics do you know regarding this tool?
...
I just installed the latest Mono framework and MonoDevelop.
When I create a new solution under C# there is no GUI based application.
How do I create an app that has a GUI and buttons etc
...
I have a Mono application that should not show on the dock, but will occasionally show a window. I want neither menu bar nor dock icon to show for this application. I have my application wrapped in an app bundle, and my info.plist file has the LSUIElement set to "1". This does not seem to be hiding my application from the Dock.
I hav...