-
Notifications
You must be signed in to change notification settings - Fork 298
Switch private build jobs to NetCore1ESPool-Internal pool with custom images#5118
Open
akoeplinger wants to merge 1 commit into
Open
Switch private build jobs to NetCore1ESPool-Internal pool with custom images #5118akoeplinger wants to merge 1 commit into
akoeplinger wants to merge 1 commit into
Conversation
LoopedBard3
commented
Feb 19, 2026
Member
I ran another internal test with this PR rebased on main performance repo: __. It seems that both with and without the rebase, the internal runs are hitting issues with android builds:
$ pushd "D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid"
$ dotnet new android --output app --force --name NetAndroidDefault
The template "Android Application" was created successfully.
$ popd
$ pushd "D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid"
$ dotnet restore D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj --packages D:\a\_work1円\s\performance\artifacts\packages /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 -bl:D:\a\_work1円\s\performance\CorrelationStaging\payload\scenarios_out\netandroid\netandroid.mono_Default.binlog-restore.binlog /p:EnableWindowsTargeting=true
Determining projects to restore...
Restored D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj (in 521 ms).
$ popd
$ pushd "D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid"
$ dotnet publish D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj --configuration Debug /p:NuGetPackageRoot=D:\a\_work1円\s\performance\artifacts\packages\ /p:RestorePackagesPath=D:\a\_work1円\s\performance\artifacts\packages\ /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 --output D:\a\_work1円\s\performance\CorrelationStaging\payload\scenarios_out\netandroid --runtime android-arm64 --framework net11.0-android /p:UseMonoRuntime=true /p:EmbedAssembliesIntoApk=true -bl:D:\a\_work1円\s\performance\CorrelationStaging\payload\scenarios_out\netandroid\netandroid.mono_Default.binlog --self-contained /p:EnableWindowsTargeting=true
Determining projects to restore...
Restored D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj (in 236 ms).
D:\a\_work1円\s\performance\CorrelationStaging\payload\dotnet\sdk11円.0.100-preview.3.26118.109\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(383,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj]
D:\a\_work1円\s\performance\CorrelationStaging\payload\dotnet\packs\Microsoft.Android.Sdk.Windows36円.1.99-preview.1.120\tools\Xamarin.Android.Tooling.targets(88,5): error XA5207: Could not find android.jar for API level 36. This means the Android SDK platform for API level 36 is not installed; it was expected to be in `C:\Program Files (x86)\Android\android-sdk\platforms\android-36\android.jar`. [D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj]
D:\a\_work1円\s\performance\CorrelationStaging\payload\dotnet\packs\Microsoft.Android.Sdk.Windows36円.1.99-preview.1.120\tools\Xamarin.Android.Tooling.targets(88,5): error XA5207: You can install the missing API level by running `dotnet build -t:InstallAndroidDependencies -f net11.0-android "-p:AndroidSdkDirectory=C:\Program Files (x86)\Android\android-sdk"`, or change the project to target an API version that is installed. [D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj]
D:\a\_work1円\s\performance\CorrelationStaging\payload\dotnet\packs\Microsoft.Android.Sdk.Windows36円.1.99-preview.1.120\tools\Xamarin.Android.Tooling.targets(88,5): error XA5207: See https://aka.ms/xa5207 for more details. [D:\a\_work1円\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj]
$ popd
Do you know if there are some internal queues that have the android adk installed?
LoopedBard3
commented
Feb 19, 2026
Member
From what I can tell, the android SDK is preinstalled in the Github images so we don't currently do anything to install it: https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md#android.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #5113
Internal validation build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2902967&view=results