dotfuscator出错解决一则

dotfuscator错误包括:

=====
Loading Assemblies...
Could not find a compatible version of ildasm to run on assembly C:\Users\Xin\AppData\Local\Temp\~XAP.0\CommonLib.dll. This assembly was originally built with .NET Framework v2.0.50727.
Build Error.
=====

 

问了一下对方的support,贴上回复:

I’m not sure if you are saying you are still having the ildasm error or not.  Also, are you saying that you can’t create a Dotfuscator project with the Visual Studio integrated version?

 

If Visual Studio integration isn’t working, you should uninstall Dotfuscator before trying a reinstall.  Did you do that?  You can also try a “repair” install, by opening the uninstaller in Windows Control panel and selecting “repair”.  If you are doing a reinstall, make sure the dialog which asks which versions of Visual Studio you want to install support for appears and that VS 2012 is listed.  Also, you may want to delete the files at “C:\ProgramData\PreEmptive Solutions\Dotfuscator Professional Edition\4.0” before reinstalling.  This will require you to reenter the serial number for Dotfuscator if you had already entered it before.  This step is not absolutely required, but if you are having problems with the installation it is worth a try.

 

Did you have Dotfuscator 4.9.7000 installed before you attempted to install the Windows Phone version?

 

If you are able to use the Visual Studio integrated version of Dotfuscator and are still getting the ILDASM error, you can direct Dotfuscator where to find the specific versions of ilasm and ildasm required by your project. 

 

Right click on Dotfuscator project and select “properties”

Click Configuration Properties/Project Properties

Create new property (icon looks like sheet of paper)

Create the following two properties:

            NAME:  ILDASM_v2.0

            VALUE:  C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bin\ildasm.exe

            NAME:  ILASM_v2.0

            VALUE:  C:\Windows\Microsoft.NET\Framework\v2.0.50727 \ilasm.exe

 

Make sure that ilasm and ildasm appear on those paths.  If they don’t, there may be a similar path.  You would be looking for the .NET 2.0 versions of both.

转载于:https://www.cnblogs.com/knightluffy/archive/2013/03/16/2963681.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值