InjectFix icon indicating copy to clipboard operation
InjectFix copied to clipboard

为什么一定要使用build_for_unity.sh脚本编译IFix.exe和IFix.Core.dll,在VS里直接编出来的复制过去用好像也没啥问题呀?

Open xtay opened this issue 4 years ago • 7 comments

xtay avatar Jan 19 '21 02:01 xtay

有人试过在il2cpp下会碰到某些问题。

chexiongsheng avatar Jan 19 '21 02:01 chexiongsheng

有人试过在il2cpp下会碰到某些问题。

呃。。。有没有具体一些的case?

xtay avatar Jan 19 '21 02:01 xtay

你了解这个干嘛呢?

chexiongsheng avatar Jan 19 '21 02:01 chexiongsheng

你了解这个干嘛呢?

稍微改了一下IFix.exe,添加了一个nuget包,然后用unity自带的mcs编不过了。。

xtay avatar Jan 19 '21 02:01 xtay

IFix.exe应该问题不大,主要是IFix.Core.dll必须用unity的编译。

chexiongsheng avatar Jan 19 '21 02:01 chexiongsheng

IFix.exe应该问题不大,主要是IFix.Core.dll必须用unity的编译。

这样流程就感觉有点分裂了。。所以。。 我就在想编出来的dll反正都是标准的CIL,用unity的编译器编,还是用vs的编译器编应该不会有太大区别才对。。。所以想来找作者求证一下具体问题。。。

xtay avatar Jan 19 '21 02:01 xtay

那你研究吧。 理论上用unity同样的编译器兼容最好,实践上也如此。 我时间没多到把全世界所有.net编译器及其各历史版本都拿来试一下,并且分析其中的问题的地步。

chexiongsheng avatar Jan 27 '21 06:01 chexiongsheng