-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ILSpy generate wrong .resx file for .NET Core #3001
Comments
@dgrunwald @siegfriedpammer Branch |
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! |
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? |
ResourceTest.zip
Original .resx in VS :
Saved project in VS :
The text was updated successfully, but these errors were encountered: