Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Creating a mono-bundled LaunchDaemon with Xamarin.Mac?

$
0
0

I am new to Xamarin.Mac and the OSX environment and am trying to get a general feel for what is possible/the right way to do things. Particularly that I'm not going down the wrong path trying to use Xamarin.Mac to create a LaunchDaemon.

First, a daemon starts as a console program and Xamarin does not seem geared towards making console programs. In the project creation menu under Xamarin.Mac there is only one option "Cocoa app" which starts you with a GUI template. Am I supposed to choose this and then go in and delete out ViewContoller.cs and Main.storyboard? Is there any more to it? In windows (VS) there is a flag in the csproj that switches between console and gui execution modes which I don't see in a Xamarin.Mac csproj.

Second, is the only means by which Xamarin “bundles” mono, in a .app bundle?
I want to use mono-bundling, but am unsure if a .app is suitable for a LaunchDaemon or if there is some other, more appropriate, way?
Should the daemons property list file point directly to HelloWorld.app/Contents/MacOS/HelloWorld?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>