Tencent / InjectFix

InjectFix is a hot-fix solution library for Unity
Other
1.97k stars 417 forks source link

2019.3.8再编译build_for_unity.bat时找不到gmcs目录 #117

Open mycks opened 4 years ago

mycks commented 4 years ago

M:\ifxyuan\InjectFix-master (1)\InjectFix-master\Source\VSProj>call "M:\unityide\2019.3.8f1\Editor\Data\Mono\bin\gmcs" ShuffleInstruction.cs -out:.\ShuffleInstruction.exe 系统找不到指定的路径。

M:\ifxyuan\InjectFix-master (1)\InjectFix-master\Source\VSProj>"M:\unityide\2019.3.8f1\Editor\Data\MonoBleedingEdge\bin\mono" ShuffleInstruction.exe Src\Core\Instruction.cs Instruction.cs Cannot open assembly 'ShuffleInstruction.exe': No such file or directory.

M:\ifxyuan\InjectFix-master (1)\InjectFix-master\Source\VSProj>call "M:\unityide\2019.3.8f1\Editor\Data\Mono\bin\gmcs" -define:UNITY_IPHONE -unsafe -target:library -out:..\UnityProj\Assets\Plugins\IFix.Core.dll Src\Builder*.cs Src\Version.cs Instruction.cs Src\Core\AnonymousStorey.cs Src\Core\DataDefine.cs Src\Core\GenericDelegate.cs Src\Core\Il2CppSetOptionAttribute.cs Src\Core\ObjectClone.cs Src\Core\ReflectionMethodInvoker.cs Src\Core\StackOperation.cs Src\Core\SwitchFlags.cs Src\Core\Utils.cs Src\Core\VirtualMachine.cs Src\Core\WrappersManager.cs 系统找不到指定的路径。

M:\ifxyuan\InjectFix-master (1)\InjectFix-master\Source\VSProj>md ..\UnityProj\IFixToolKit 子目录或文件 ..\UnityProj\IFixToolKit 已经存在。

M:\ifxyuan\InjectFix-master (1)\InjectFix-master\Source\VSProj>copy /Y ThirdParty\Mono.Cecil* ..\UnityProj\IFixToolKit ThirdParty\Mono.Cecil.dll ThirdParty\Mono.Cecil.Mdb.dll ThirdParty\Mono.Cecil.Pdb.dll 已复制 3 个文件。

M:\ifxyuan\InjectFix-master (1)\InjectFix-master\Source\VSProj>call "M:\unityide\2019.3.8f1\Editor\Data\Mono\bin\gmcs" -define:UNITY_IPHONE -unsafe -reference:ThirdParty\Mono.Cecil.dll,ThirdParty\Mono.Cecil.Mdb.dll,ThirdParty\Mono.Cecil.Pdb.dll -out:..\UnityProj\IFixToolKit\IFix.exe -debug Instruction.cs Src\Tools*.cs Src\Version.cs 系统找不到指定的路径。

chexiongsheng commented 4 years ago

你试试用mcs可以不,你把第二行改为 @set GMCS="%UNITY_HOME%\Editor\Data\MonoBleedingEdge\bin\mcs.bat"

EP-Toushirou commented 4 years ago

你试试用mcs可以不,你把第二行改为 @set GMCS="%UNITY_HOME%\Editor\Data\MonoBleedingEdge\bin\mcs.bat"

同楼主同样的问题 改了第二行后可以了

YuJiMing commented 4 years ago

可以了