C# mono GTK how to pack for Mac OS X - c#

I have developed an application on my Windows machine, using Xamarin Studio, targeting Mono / .Net 4.5 and using GTK. The app runs on my Windows machine since I have .Net installed, now I need to deploy to a Mac. The Mac has Mono Runtime already installed, but I have no idea what to send.
If there is anything I need to "pack" or "link" I need to do it on my Windows machine and only send one or more files to the Mac user, so they can run it. After hours of reading, I keep hearing about mkbundle and MonoMac, but it seems that you use them on a Mac or at least I have not found a clear guide on how to do this on my Windows computer.
Here is the question - I have only one .exe right now, how do I "convert" this to a Mac "executable?"

Related

This template uses shell, which doesn't yet support UWp

Does anyone know how I could fix this?
Shell support is only provided for Android and iOS at this time.
I need to create a mac app how I can do that?
MSFT provide document that make xamarin.mac app, and here is xamarin.mac startup. the following are default requirements
Xamarin.Mac application development requires:
A Mac computer running macOS High Sierra (10.13) or higher.
Xcode 10 or higher.
The latest version of Xamarin.Mac and Visual Studio for Mac.
To run an application built with Xamarin.Mac, you will need:
A Mac computer running macOS 10.7 or greater

Windows Forms C# Pot To Mac OS X (easiest way)

Been searching the web and stackoverflow for 3 days, and I can't find an answer for what I need. I am a C# developer, not a Pro one but I am pretty good with developing Windows (desktop) software.
Now I want to port a windows software to Mac, but I simply can't find a guide on how to do this.
I installed VS coomunity 2015 with xamarin, but I didn't find any tutorials or guide on how to port a desktop software to mac os X (not to ios/windows phone).
I know that using Mono will help do that, but I simply have no clue where to start. I installed vmware with elcapitan, have everything set-up but I have no clue what to do next.
So knowing that I developed a C# .net app, that uses only the default .net libs that are supported in MONO, what should I do to port it on mac os X?
How can I compile in VS 2015 and simply run on Mac OS X?
Thanks a lot!
Vlad
Developing a Xamarin.Mac app is currently not supported in Visual Studio and requires Xamarin Studio running on a Mac with the latest version of Xcode installed.
Windows Forms and Windows APIs are not supported in Xamarin.Mac so you will need to port your UI to NSWindows, NSViewControllers and NSViews. However, you can share the back end code across platforms such as your data models and business level classes. A typical app can share up to 80% of the code across platform.
I would suggest starting with our Hello, Mac documentation as it gives a needed base required for the rest of the Mac documentation.

.NET Compile on Mac run on Windows

I have installed Xamarin and Mono on my Mac so that I can work with a C# project on the fly. I can run it on the Mac, however when i compile the project on my Mac and then run it on Windows (server 2003), I get an error message.
Why is this?
I was using Windows specific .dlls like Kernel32, etc. Removing these parts made it run on OS X and Linux.

run c sharp program without installing in client machine

I want to run an application in client machine without installing it in the client machine. the application file should be in my usb pen drive and when I go to customer pen is plug in client machine and run the application. The system is developed by c#. Please send any ideas.
Build it in .Net framework 2. Then you can run it in almost all the windows machine except windows 8. .Net framework 2 is disabled by default in windows 8. You can enable it and run your app. Framework 2 will be available when installing windows and can run by double clicking the exe
If you are just interested in running the C# program, there are various online C# compiler available. For eg:
http://www.compileonline.com/compile_csharp_online.php
http://ideone.com/
If it is an application in .exe, you should be able to run it in windows without installing anything, as Windows already contains a version of .Net by default.
If you just have the dlls, scripts etc, you are in deep trouble.
It sounds as if you're after a linker/merger/virtualizer. I don't have any experience with these tools but they are cited quite often:
Xenocode
Thinstall
ILmerge
Salamander
SkaterPro
Spoon Studio

How do I make a GtkSharp app work on Windows

I am new at C# and mono. I just wrote a small GtkSharp program on my Ubuntu laptop and when I tried to run it on my girlfriend's windows 7 computer it just wouldn't start. So I thought it might be because she doesn't have Gtk installed. I found a site where I downloaded a Gtk installer and installed it, but the program still doesn't work.
What is the problem? I've seen the program work great on my Mac (which happens to have Mono installed) do I have to install mono on her computer?
You need the GtkSharp Runtime Redistributable to run your application on a Windows machine. GTK by itself does not provide GtkSharp or an appropriate CLR for your application. Try downloading from the Mono website.
Install mono and then try again.

Categories

Resources