Description
Description
I'm using .NET8, our .resx
files contains <data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
They can be successfully built but throw exception at runtime.
BinaryFormatter serialization and deserialization are disabled within this application.
I know BinaryFormatter is going to be deprecated, and I can re-enable it by EnableUnsafeBinaryFormatterSerialization=true
, but it's just a temporary solution.
Will dotnet team enhance the build tool to support these .resx files? or we developers should update .resx files? and what is the recommended way?
BTW, is there some help document for developers to adapt to the obsolescence of BinaryFormatter? For example, how to read existing files saved by BinaryFormatter, how to deal with application/x-microsoft.net.object.binary.base64
in .resx
. I believe it will be very helpful.
Reproduction Steps
No
Expected behavior
If mimetype="application/x-microsoft.net.object.binary.base64"
can be built, it should not throw.
Actual behavior
It throws exception.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response