Skip to content

Removing last instances of the BinaryFormatter#11346

Merged
JanProvaznik merged 6 commits intomainfrom
dev/mipavlik/remove-binary-formatter
Feb 12, 2025
Merged

Removing last instances of the BinaryFormatter#11346
JanProvaznik merged 6 commits intomainfrom
dev/mipavlik/remove-binary-formatter

Conversation

@MichalPavlik
Copy link
Copy Markdown
Member

Fixes #11323

Context

We used BinaryFormatter in the serialization logic to support build custom events. With the VS 17.14, we can remove the last instances of the BinaryFormatter in our codebase.

Changes Made

TranslateDotNet implementation was removed and OutOfProcNode now unconditionally emits build error instead of sending packets with the custom event.

Testing

Modified existing unit test.

Notes

Copy link
Copy Markdown
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

I'd just suggest to keep this warning on NETFx

MichalPavlik and others added 3 commits January 29, 2025 11:00
Co-authored-by: Rainer Sigwald <raines@microsoft.com>
Co-authored-by: Rainer Sigwald <raines@microsoft.com>
@YuliiaKovalova
Copy link
Copy Markdown
Member

to fix the build issue you need to build msbuild locally and have the strings generated again.

@MichalPavlik
Copy link
Copy Markdown
Member Author

to fix the build issue you need to build msbuild locally and have the strings generated again.

Yeah, it's not the first time I've encountered this kind of error, but thank you :)

@MichalPavlik MichalPavlik added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Jan 29, 2025
Copy link
Copy Markdown
Member

@rainersigwald rainersigwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! For this kind of change I would find it quite helpful to see screenshots/console transcripts of the "after" experience with the change.

@JanProvaznik JanProvaznik enabled auto-merge (squash) February 12, 2025 14:08
@JanProvaznik JanProvaznik merged commit 79d15bc into main Feb 12, 2025
@JanProvaznik JanProvaznik deleted the dev/mipavlik/remove-binary-formatter branch February 12, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove BinaryFormatter

5 participants