InjectFix icon indicating copy to clipboard operation
InjectFix copied to clipboard

升级Mono.Cecil

Open dafong opened this issue 5 years ago • 1 comments

我看unity2018的最新版本已经不再产生mdb文件了,生成pdb文件 读取符号那块感觉应该改成这样 assembly = AssemblyDefinition.ReadAssembly(assmeblyPath, new ReaderParameters { ReadSymbols = true , SymbolReaderProvider = new PortablePdbReaderProvider() }); 但是目前的Mono.Cecil 似乎没有这个方法

现在会有个警告"Warning: read " + assmeblyPath + " with symbol fail" 导致运行起来有点问题

dafong avatar Sep 24 '20 05:09 dafong

不用改代码,升级下cecil库就可以了,我在新unity下使用,只有升级到cecil的0.10版本,就不会有那个warning。

chexiongsheng avatar Oct 16 '20 02:10 chexiongsheng