hxcs icon indicating copy to clipboard operation
hxcs copied to clipboard

Using msbuild/xbuild instead of directly using C# compilers?

Open vroad opened this issue 8 years ago • 1 comments

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.

vroad avatar Jun 19 '16 12:06 vroad

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

vroad avatar Oct 16 '16 10:10 vroad