Skip to content

Conversation

@pgovind
Copy link

@pgovind pgovind commented Apr 6, 2021

Add the EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization feature switch and default it to false for trimmed apps. This is a follow up to dotnet/runtime#48527

I lifted the relevant patterns from https://github.com/dotnet/sdk/pull/15702/files. I don't know how to test these changes though, so I'd appreciate if someone told me how to test this locally!

Add the EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization feature switch and default it to false for trimmed apps.
@pgovind pgovind requested a review from eerhardt April 6, 2021 20:41
@ghost
Copy link

ghost commented Apr 6, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@eerhardt
Copy link
Member

eerhardt commented Apr 6, 2021

    public void StartupHookSupport_is_false_by_default_on_trimmed_apps(string targetFramework)

Maybe we should rename this test to not be StartupHookSupport, but instead

TrimmingOptions_are_defaulted_correctly_on_trimmed_apps


Refers to: src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToRunILLink.cs:602 in ae95e4c. [](commit_id = ae95e4c, deletion_comment = False)

@pgovind pgovind added auto-merge Automatically merge PR once CI passes. Auto-Merge If Tests Pass labels Apr 6, 2021
@ghost
Copy link

ghost commented Apr 6, 2021

Hello @pgovind!

Because this pull request has the Auto-Merge If Tests Pass label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit a3ff9c8 into dotnet:main Apr 6, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Merge If Tests Pass auto-merge Automatically merge PR once CI passes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants