反序列化,我使用BinaryFormatter的序列化類實例的數組到一個文件中。我可以在同一個應用程序中反序列化這個罰款。當我嘗試在不同的應用程序相同的反序列化(在一個共同文件,做的工作是拉)然後我得到以下錯誤:如何獲得的BinaryFormatter在不同的應用程序
{"Could not load file or assembly 'pmlscan, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The module was expected to contain an assembly manifest."}
其中pmlscan是原始應用程序的名稱。如何讓BinaryFormatter不嘗試加載pmlscan?
好,這工作正常,測試! – 2014-08-17 14:33:50