How to package gtk # dependency with executable

I'm working on an assignment game for my college courses and I'm forced to essentially use C #, so on my laptop I'm using Monodevelop with Debian Linux. The problem is that GTK # apps won't run on Windows unless the dependencies are installed, which is a problem as my Uni computers don't have this.

My question is, is there a way to package dependencies with my compiled executable so I don't have to worry about this stuff being installed? Using Visual C # is essentially out of the question since this laptop can barely run Debian, let alone Windows. I know the System.Windows.Forms namespace, but for some reason my Monodevelop version didn't come with this.

Thank you for your help.

+2


source to share


1 answer


Debian breaks Mono into many small packages. I believe it is for System.Windows.Forms called libmono-winforms2.0-cil

.



You can bundle GTK # into your application, but that would be tricky. You will need to include all GTK # and GTK + libraries in the same directory as your application.

+2


source







All Articles