HaxeFoundation / HaxeFoundation/hxcs

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

Open
#27 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
56
Forks
21
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the command file that invokes csc and compare its compilation with msbuild/xbuild, including the reported /optimize setting. Reproduce the differing assembly behavior and the reference paths containing forward slashes. Done means the project’s compilation path and resulting behavior are consistent with the expected msbuild/xbuild output.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.