Haxe - compile haxe code for .NET DLL, not EXE

Is it possible to compile haxe code directly in a .NET DLL, and not in an EXE, using the haxe compiler?

+4
source share
2 answers

You can also compile your code and pass in -D dll haxe compiler:

 haxe -cp src -D dll -cs bin/cs [class-to-compile] 
+6
source

Just rename the file if you want a DLL. The difference between them in .NET is minimal .

+1
source

Source: https://habr.com/ru/post/1502811/


All Articles