Skip to content

BinaryFormatter tests are no longer skipped when ran against source-built runtime #107534

Closed
@tmds

Description

@tmds

When building runtime under the source-build configuration, no functional BinaryFormatter is being built.

Tests that require a functional binary formatter are skipped based on:

[ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsBinaryFormatterSupported))]

These tests are no longer being skipped on the main branch. This causes 1000s of test failures across different test projects.

@adamsitnik I suspect this regressed in #106858 by removing the assembly version logic in DetermineBinaryFormatterSupport.

cc @ViktorHofer @omajid

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Runtimebinaryformatter-migrationIssues related to the removal of BinaryFormatter and migrations away from itin-prThere is an active PR which will close this issue when it is merged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions