[release/9.0] BinaryFormatter tests improvements by adamsitnik · Pull Request #107540 · dotnet/runtime

and others added 4 commits

September 9, 2024 15:39
* Remove package references from library tests

These tests should be referencing the product assemblies so that they
test latest and not old bits.

* Reference the OOB version of SRSF and make sure it's copied
…otnet#106858)

* respect AppContext switch (which is currently enabled for all projects in the root Directory.Build.props file)

* add project reference to all test projects that need working BF (and were being skipped for a while)

* adjust to changes from dotnet#104202: EqualityComparer<string>.Default is mapped to StringEqualityComparer, but serialized as GenericEqualityComparer<string>
* enable the BinaryFormatter tests in System.Runtime.Serialization.Formatters.Tests

* add new test project, where the flag is disabled and it runs only 3 tests in total that ensure that

* The SerializationGuard is no longer activated since BF was moved to the OOB package, the tests need to reflect that.

@ghost ghost added the needs-area-label

An area label is needed to ensure this gets routed to the appropriate area owners

label

Sep 9, 2024

@tmds @adamsitnik

This was referenced

Sep 11, 2024

carlossanlop

@carlossanlop carlossanlop added the NO-MERGE

The PR is not ready for merge yet (see discussion for detailed reasons)

label

Sep 16, 2024

carlossanlop

@ivanpovazan @ericstj

…undle when AOTing on Helix (dotnet#107079)

* Do not treat assembly.pdb/xml files as native files to bundle

* Bundle satellite assemblies as well

@ivanpovazan @ericstj

@carlossanlop carlossanlop removed the NO-MERGE

The PR is not ready for merge yet (see discussion for detailed reasons)

label

Sep 17, 2024

ivanpovazan

carlossanlop