Work around for forbidden "Roslyn4.0" in test name on Android (#59263) (#59281)
authorJo Shields <directhex@apebox.org>
Tue, 21 Sep 2021 17:58:39 +0000 (13:58 -0400)
committerGitHub <noreply@github.com>
Tue, 21 Sep 2021 17:58:39 +0000 (10:58 -0700)
commitf471fa41169f86a8216fd02aa32ca7ded4fb258a
treed2292bb745f9eda5e2864d74415c22e2578c640c
parent720d29886f739bee82bd0783ed9d5a9507268a35
Work around for forbidden "Roslyn4.0" in test name on Android (#59263) (#59281)

Android apk names must be valid Java class names, and It is forbidden in Java for a class name component to have a leading numeric digit. So whilst "net.dot.foo3_1" is legal, "net.dot.foo3.1" is illegal. Use a Regex to detect and rewrite all cases of this in AndroidAppBuilder
src/libraries/tests.proj
src/tasks/AndroidAppBuilder/ApkBuilder.cs