tags:

views:

92

answers:

2

Here's the poop; I am working on a game for an assignment for my college courses and am being forced, essentially, to use C#, so on my laptop I am using Monodevelop with Debian Linux. Trouble is that GTK# apps won't run on Windows unless the dependencies are installed, which is a problem as my Uni's computers don't have that. My question is this, is there a way to package the dependencies with my compiled executable so I don't have to worry about having that stuff installed? Using Visual C# is essentially out of the question as this laptop barely can run Debian let alone Windows. I am aware of the System.Windows.Forms namespace, but for some reason my version of Monodevelop did not come with that.

Thank you for your help.

A: 

For all of my programming assignments, it was expected that our solutions would run on a specific computer lab's machines. Do you have something similar? If so, I would recommend writing & testing the game on the machines your prof (or TAs) expect the game to run on, rather than your own (apparently underpowered) laptop.

Matt Ball
Therein lies the problem that I should have explained in my question. I won't have access to those machines for the next week, just this laptop. After this week, I will have very limited time left to work and am trying to avoid a last minnute rush.
That's pretty rough. Do they offer a VM, or at least some sort of remote access (VNC, ssh with X-forwarding, etc.)?
Matt Ball
+2  A: 

Debian splits up Mono into many smaller packages. I believe the one for System.Windows.Forms is called libmono-winforms2.0-cil.

You could bundle GTK# with your app but it would be complicated. You'd have to include all the GTK# and GTK+ libraries in the same directory as your app.

mhutch
Is there a list of those somewhere? I am willing to do that.
Look in C:\Program Files\GtkSharp\2.12. The files are all installed there. You'll have to look up the Windows loading path rules for native and managed libraries for work out how to put it alongside your app. I think in general things will be loaded from your app's dir first, so you could just try adding stuff every time you run into an error, until it works...
mhutch