hxcs
hxcs copied to clipboard
Using msbuild/xbuild instead of directly using C# compilers?
Why are assemblies currently not compiled with msbuild/xbuild?
I've also found that assemblies compiled with csc is different from the one generated with msbuild for some reason. It looks like it's working in the same way, but slower than msbuild version for some reason. I verified that cmd file has /optimize option.
This also leads to different behaviour in other cases. For example, with references containing / in its path instead of \ (backslash). This compiles successfully with csc, but not with msbuild.
I created initial implementation of build tool that uses msbuild. On Windows hxcs tries to retrieve msbuild path from registry. https://github.com/vroad/hxcs/commit/a4f07e145e398cc529ec3680b0a6e751a4679f24