[轉]DotFuscator找不到須要的.NET Framework

轉自:http://blog.csdn.net/winnyrain/article/details/17141331ui

---------------------------------------------------spa

在混淆的時候報錯了,錯誤描述大體以下:.net

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 blog

 

要混淆不一樣的.Net Framework版本須要在Settings,Project Properties,添加配置以下。ci

其中ILASM和ILDASM後面必須要加上對應版本的版本號,而後文件引用對應的版本文件便可。v8

 
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
 
如圖:
相關文章
相關標籤/搜索