DrFlower / Unity-Obfuscator

Unity代码混淆插件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mono.Cecil与Unity.Burst.Cecil冲突

xbscn opened this issue · comments

commented

unity 版本2021.3.6f1c1,vs版本2022,安装Burst后
显示Assets\UnityObfuscator\Editor\Scripts\ClassInfo.cs(93,39): error CS0433: The type 'TypeDefinition' exists in both 'Mono.Cecil, Version=0.9.66.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' and 'Unity.Burst.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=fc15b93552389f74'
等几十个CS0433同类报错
vs使用别名和extern alias后vs不报错,unity照常报错,并报错Assets\UnityObfuscator\Editor\Scripts\Obfuscator.cs(1,14): error CS0430: The extern alias 'MC' was not specified in a /reference option
(MC是Mono.Cecil的别名)

+1

commented

+1 ,求解 怎么解决