-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Remove BinaryFormatter usage from System.Resources.Extensions #39292
Comments
CC @ericstj |
Per the plan, this could maybe have the 6.0 milestone? |
Actually it's not clear to me from this doc why this code is removed or replaced. Why wouldn't we just let this be controlled by "disable |
|
I see. The real work here would be to get @dotnet/dotnet-winforms and @dotnet/project-system to migrate off of using @GrabYourPitchforks maybe we should start by getting these teams to move to a new method and update the components which are producing BinaryFormatted payloads? Here's a rough sketch of the order I'd see this happening:
|
@dreddy-work . FYI. We need to start planning for this. |
cc @rainersigwald as well |
I believe there's also implication on the VS designers for .resx files. |
Yep. I've pinged @jjmew so we can get updates to the Resource Editor into the planning for (hopefully) .NET 6 but I can't offer any guarantees. We're going to have interesting problems with projects that multi-target versions of .NET that have |
@rainersigwald and @tmeschter I think we need PM involved to help us with what experience we want for multi-targeting. Cc: @mckennabarlow @cartermp |
I think we can make it work if we transition everyone, and include type-converters out-of-band in the Resources.Extensions assembly on older platforms. There will certainly be some projects which don't want to transition: VS shouldn't break/change build of existing projects. Assuming Security doesn't claim priority here, we'll need to make sure that they can continue to work the way they used to by suppressing some warning. |
@OliaG might be interested in this discussion too. |
Addressed by #102379. |
Ref:
runtime/src/libraries/System.Resources.Extensions/src/System/Resources/Extensions/DeserializingResourceReader.cs
Lines 37 to 48 in af828ae
This issue tracks the removal and replacement of this code per the
BinaryFormatter
obsoletion plan.The text was updated successfully, but these errors were encountered: