hxcs
hxcs copied to clipboard
A request stop all after writeProject()
I hope modify csproj that created by "writeProject()". then call msbuild
CSharpCompiler::compile
code may like
this.data = data;
preProcess();
if (!FileSystem.exists("bin"))
FileSystem.createDirectory("bin");
findCompiler();
writeProject();
if(**manualCompile**) {
return;
}
Whether to consider supporting?
Did you try -D no-compilation
and then work with generated cs code?
> haxe --help-defines
no-compilation : Disable final compilation (for hl,cpp,java,cs)
Did you try
-D no-compilation
and then work with generated cs code?> haxe --help-defines no-compilation : Disable final compilation (for hl,cpp,java,cs)
tryed. :)
if use UnityEditor.dll compile fail . nothing will output (no .cs)
hxcs execute step
- haxe compile (result is hxcs_build.txt and .cs files) 2.parse hxcs_build.txt and build project.csproj file. 3.call native c# compiler with project.csproj now fail at first step.
Did you try
-D no-compilation
and then work with generated cs code?> haxe --help-defines no-compilation : Disable final compilation (for hl,cpp,java,cs)
Just saw us meet, you saw my other question about . Currently if haxe did not fix this problem before. I will try to add UnityEditor Reference after csproject
is built. Although this will definitely solve the problem. But a lot of untyped needs to be written in the code.
today 。i solve with 5 step
- abort hxcs's work
2.Compile only with -net-lib UnityEngine.dll
3.Write haxe code like this
4.Add reference node in "project.csproj"
5.CMD > msbuild