在混淆的时候报错了,错误描述大致如下:

Could not find a compatible version of ildasm to run on assembly C:\xxx.dll This assembly was originally built with .NET Framework v4.0.30319

 

要混淆不同的.Net Framework版本需要在Settings,Project Properties,添加配置如下。

其中ILASM和ILDASM后面必需要加上对应版本的版本号,然后文件引用对应的版本文件即可。

 

ILASM_v4.0.30319

C:\Windows\Microsoft.NET\Framework\v4.0.30319\ilasm.exe

 

ILDASM_v4.0.30319

C:\Program Files\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\ildasm.exe

 

如图:

 

 Dotfuscator use for .net4.0 error solve

相关文章:

  • 2021-04-21
  • 2021-07-16
  • 2021-10-11
  • 2021-12-30
  • 2022-12-23
  • 2021-11-19
  • 2022-02-18
  • 2021-11-04
猜你喜欢
  • 2021-12-22
  • 2021-07-14
  • 2021-05-26
  • 2021-06-06
  • 2021-09-08
  • 2021-07-02
相关资源
相似解决方案