Reputation: 5352
Is is possible to compile haxe code directly to a .NET DLL rather than an EXE using the haxe compiler?
Upvotes: 4
Views: 1286
Reputation: 2470
You can also compile your code and pass in -D dll
to the haxe compiler:
haxe -cp src -D dll -cs bin/cs [class-to-compile]
Upvotes: 6
Reputation: 19489
Just rename the file if you want a DLL. The difference between the two in .NET is minimal.
Upvotes: 1