Dotfuscator进行dll混淆的一个问题

用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

标签:加密, unity3d, dotfuscator, .net framework

添加新评论