Dotfuscator doesn't support current .NET framework?

落花浮王杯 提交于 2019-12-11 07:18:53

问题


This is a Dotfuscator noob question -- I'm trying to run it on some assemblies for the first time, but I get an error saying: "Invalid assembly [foo.dll]. Input assembly [foo.dll] was compiled with a version of the .NET Framework (v4.0.30319) that is not supported by this version of Dotfuscator. Please check for an updated version of Dotfuscator."

I'm using the version that shipped with the current version of VS 2010, and I have all service packs etc installed. I have registered the product. Help > Check for updates doesn't do anything at all. I don't see any updated downloads on the Dotfuscator site.


回答1:


(Note: I work for PreEmptive Solutions on the Dotfuscator team.)

You likely have an older version of Dotfuscator (despite the behavior you are seeing under Check for Updates). Dotfuscator does work with assemblies targeted at 4.0.30319, and has since the release of VS2010 (and we supported assemblies targeted at the various VS2010 Betas as they were released, too).

Are you using the free version included within Visual Studio? If so, the version included in VS2008 will not support .NET 4.0 assemblies, and would also not indicate that updates are available. This would be versioned as Community Edition v4.x.

The free version within VS2010 will handle 4.0.30319 targeted assemblies, and would be versioned as Community Edition 5.x.

The professional editions of Dotfuscator have supported builds against 4.0.30319 since April 2010 (http://www.preemptive.com/support/dotfuscator-support/dotfuscator-pro-change-log/272)

Please let me know which exact version of Dotfuscator you're using if it's a Community Edition version in VS2010 or a professional edition.



来源:https://stackoverflow.com/questions/4937738/dotfuscator-doesnt-support-current-net-framework

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!