ILSpy
ILSpy copied to clipboard
ILSpy generate wrong .resx file for .NET Core
@dgrunwald @siegfriedpammer Branch resx-fix/Refactor ResXResourceWriter
is merged, is it finished? But it still doesn't fix this issue
That issue was not fixed by #3016 as far as I remember.
Can you share the project you used to create this? The data stored in the resources stream does not resemble anything that looks like an icon. Thanks!
Can you share the project you used to create this? The data stored in the resources stream does not resemble anything that looks like an icon. Thanks!
The reason why ILSpy fails to decode this resource properly is that the underlying ResourceReader class is different. The file uses a different variation of ResourceReader which uses a slightly different format for serialized objects. You can take a look at the different behavior here: https://github.com/dotnet/dotnet/blob/95703b57cf3dfaa79f054d277551a809d4f7696a/src/runtime/src/libraries/System.Resources.Extensions/src/System/Resources/Extensions/DeserializingResourceReader.cs#L108
A year has passed, any news?