Skip to content

Fix repetitive Release incremental builds on CoreCLR and NativeAOT #12880

Description

@jonathanpeppers

Android framework version

Other (.NET 12 development branch)

Affected platform version

.NET 12 / dotnet/android main

Description

BasicApplicationRepetitiveReleaseBuild cannot currently run for the surviving Android runtimes. On CoreCLR, the third build unexpectedly skips _Sign; on NativeAOT, the second build unexpectedly reruns _RunILLink. Restore the test and fix the incremental build behavior for both runtimes.

Steps to Reproduce

  1. Restore BasicApplicationRepetitiveReleaseBuild in IncrementalBuildTest.cs.
  2. Run it with AndroidRuntime.CoreCLR and AndroidRuntime.NativeAOT.
  3. Observe the target-skipping assertion failures described above.

Did you find any workaround?

The test is ignored while the runtime-specific incremental behavior is investigated.

Relevant log output

CoreCLR: The target _Sign should have not been skipped.
NativeAOT: The target _RunILLink should have been skipped.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions