β

Dotfuscator进行dll混淆的一个问题

兜里 100 阅读

用Dotfuscator进行Unity3D代码混淆时报异常:

Could not find a compatible version of ildasm to run on assembly (valid path to solution output exe). This assembly was originally built with .NET Framework v2.0.50727

找不到.NET Framework v2.0.50727,在Dotfuscator工程配置文件project.xml中添加路径映射解决

<dotfuscator version="2.3">   
   <propertylist>
      <property name="ILDASM_v2.0.50727" value="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ildasm.exe" />
      <property name="ILDASM_v4.0.30319" value="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\ildasm.exe" />  
   </propertylist>

参考: http://stackoverflow.com/questions/11469293/dotfuscator-could-not-find-compatible-version-of-ildasm

作者:兜里
把感悟揣进兜里,化作糖,与你分享!
原文地址:Dotfuscator进行dll混淆的一个问题, 感谢原作者分享。