Windows Server 2008上的WP7 Dotfuscator错误,认为程序集不针对WP7

问题描述

|| 我已经使用WP7应用程序在本地成功运行dotfuscator。但是,当我尝试在我们的构建服务器(Windows Server 2008 SP2)上运行它时,出现以下错误
LICENSED TO: xxxxxx xxxxxx
SERIAL #: [serial number here]
Adding assembly \"AssemblyName.dll\" as input has been disallowed. Only assemblies targeting the Windows Phone platform are supported in this edition of Dotfuscator.
我不确定发生了什么。我唯一能想到的是Windows Server 2008不支持Windows Phone的dotfuscator,但是我没有发现任何要确认或否认的东西。服务器上的Dotfuscator与我的本地计算机上的Dotfuscator版本相同。有人遇到过吗?有什么解决方案或建议吗?     

解决方法

        事实证明,问题不在于Windows Server 2008,而在于dotfuscator配置xml文件中的路径。问题是dotfuscator显示的错误消息不正确,使我相信文件本身存在问题,而不是路径错误。对于这种情况,Dotfuscator应该具有更好的错误消息。即使是简单的“找不到文件”错误也要比当前错误更好。     ,        Dotfuscator应该可以在Windows 2008上正常运行,问题可能是程序集类型检测代码有问题。 如果您的程序集针对WP7,则您不应收到此消息。您能否将XAP发送到support@preemptive.com(或将其包含在http://www.preemptive.com/contact/supportrequestform的支持通知单中)