2
我有一個任務,我正在重建許多項目丟失的源。對於大多數人來說,這樣做很好,但當然在最後一個項目中,我遇到了一個我找不到任何解決方案的錯誤。將資源文件轉換爲resx - 不可序列化
我用Reflector 8.1反編譯DLL,它給了我所有的源和一堆.resources文件。我一直在使用resgen程序將它們轉換回.resx文件以包含在項目中。儘管有一個文件讓我感到悲傷。請幫忙。
>resgen foo.resources foo.resx
Read in 106 resources from "foo.resources"
ResGen : error RG0000: Error while writing the output file "Resources.resx"
ResGen : error RG0000: Specific exception: "InvalidOperationException" Message: "Item named 'IncomingRing' of type 'System.IO.PinnedBufferMemoryStream' cannot
be added to the resource file because it is not serializable."
2 error(s)。