Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Compile to Android from commandline without Xamarin

$
0
0

@alexandervrs wrote:

For my game engine, I am using OpenFL & Haxe, I am adding support for C# via Mono/Monogame & eventually hoping to add support for the platforms OpenFL is missing.

When it comes to Android, I couldn't find any resources on how to compile a Monogame apk without Xamarin from the commandline. I currently use a simple command with csc for a Windows build:

csc /define:WINDOWS /nologo /win32manifest:Properties\Application.manifest /win32icon:Properties\Icon.ico /optimize /target:winexe /platform:anycpu /r:Libraries\MonoGame\Windows\MonoGame.Framework.dll /out:_Release\Application.exe /recurse:*.cs

From what I see Xamarin needs a paid license. Not sure if this still is true to be honest. A reason I am making my engine is because of the open source nature & I don't want to lock myself in a recurring subscription. Is there any way to compile an apk without Xamarin, via Mono perhaps?

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles