Skip to content
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

Disable newly added System.Resources.Extensions tests with native AOT #103269

Merged
merged 1 commit into from
Jun 11, 2024

Commits on Jun 11, 2024

  1. Disable newly added System.Resources.Extensions tests with native AOT

    Native AOT outerloop testing is on the floor due to build breaks:
    
    Build break 1:
    
    ```
    The published project has a runtimeconfig.template.json that is not supported by PublishAot. Move the configuration to the project file using RuntimeHostConfigurationOption.
    ```
    
    Build break 2 (this is a warning, but WarnAsError makes this more severe):
    
    ```
    AOT analysis error IL3054: FluentAssertions.Equivalency.EquivalencyAssertionOptions`1<IEnumerable`1<IEnumerable`1<IEnumerable`1<IEnumerable`1<Int32[,,]>>>>>: Generic expansion to 'FluentAssertions.Equivalency.EquivalencyAssertionOptions`1<IEnumerable`1<IEnumerable`1<IEnumerable`1<IEnumerable`1<IEnumerable`1<Int32[,,]>>>>>>' was aborted due to generic recursion. An exception will be thrown at runtime if this codepath is ever reached. Generic recursion also negatively affects compilation speed and the size of the compilation output. It is advisable to remove the source of the generic recursion by restructuring the program around the source of recursion. The source of generic recursion might include: 'FluentAssertions.Equivalency.EquivalencyAssertionOptions`1', 'FluentAssertions.Equivalency.NestedExclusionOptionBuilder`2'
    ```
    MichalStrehovsky authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    65b6a21 View commit details
    Browse the repository at this point in the history