2011-06-15 50 views
2

我已經使用我的WP7應用程序在本地成功運行dotfuscator。然而,當我試圖給我們構建服務器,這是一個在Windows Server 2008 SP2,我收到以下錯誤上運行它:Windows Server 2008上的WP7 Dotfuscator錯誤,認爲程序集沒有針對WP7

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版本相同。有沒有人遇到過這個?任何解決方案或建議?

回答

1

事實證明,問題不在於Windows Server 2008,而是在dotfuscator配置xml文件中有一個路徑。問題在於dotfuscator顯示的錯誤信息不正確,導致我相信文件本身存在問題,而不是路徑錯誤。對於這種情況Dotfuscator應該有一個更好的錯誤消息。即使是一個簡單的「找不到文件」錯誤也會比當前的錯誤更好。