Skip to content

Commit 267c3a3

Browse files
authored
Merge pull request #1122 from dotnet/dev/moljac/mu-20250411-infrastructure-bumps
Manual updates 20250411 infrastructure bumps
2 parents f020345 + 314128e commit 267c3a3

File tree

13 files changed

+32
-32
lines changed

13 files changed

+32
-32
lines changed

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Used by binderator, "Windows" is fine because we only use managed code from it
2-
#tool nuget:?package=Microsoft.Android.Sdk.Windows&version=35.0.0-rc.1.80
2+
#tool nuget:?package=Microsoft.Android.Sdk.Windows&version=35.0.61
33

44
// Cake Addins
55
#addin nuget:?package=Cake.FileHelpers&version=7.0.0

build/ci/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ parameters:
1111
installAndroidDependencies: false
1212

1313
tools: # Additional .NET global tools to install
14-
- 'Cake.Tool': '4.0.0'
14+
- 'Cake.Tool': '5.0.0'
1515
- 'private-api-tools': '1.0.3'
1616

1717
# Reporting/Analysis Parameters

build/ci/job-extended-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ parameters:
1212

1313
tools: # Additional .NET global tools to install
1414
- 'dotnet-test-slicer' : '0.1.0-alpha7'
15-
- 'Cake.Tool': '4.0.0'
15+
- 'Cake.Tool': '5.0.0'
1616

1717
jobs:
1818
- job: ${{ parameters.jobName }}_package_tests

build/ci/variables.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ variables:
1919
macosAgentPoolName: VSEng-VSMac-Xamarin-Shared # macOS VM pool name
2020

2121
# Tool variables
22-
dotnetVersion: '8.0.407' # .NET version to install on agent
22+
dotnetVersion: '8.0.408' # .NET version to install on agent
2323
dotnetWorkloadRollbackFile: 'workloads.json' # Rollback file specifying workload versions to install
2424
dotnetNuGetOrgSource: 'https://api.nuget.org/v3/index.json' # NuGet.org URL to find workloads
2525
dotnetWorkloadSource: 'https://aka.ms/dotnet6/nuget/index.json' # .NET engineering URL to find workloads
@@ -35,7 +35,7 @@ variables:
3535
extendedTestAssembly: tests/extended/bin/$(configuration)/net8.0/ExtendedTests.dll # Extended tests compiled binary
3636

3737
# dotnet-next test variables
38-
dotnetNextVersion: 9.0.201 # .NET preview version to install
38+
dotnetNextVersion: 9.0.203 # .NET preview version to install
3939
dotnetNextFrameworkVersion: 9 # The number to use for TF (eg: net9.0-android)
4040
dotnetNextApiLevel: 35 # The Android SDK API Level to use (eg: -android35.0)
4141

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"sdk":
33
{
4-
"version": "8.0.407",
4+
"version": "8.0.408",
55
"rollForward": "patch"
66
},
77
"msbuild-sdks":

tests/allpackages/AllPackagesTests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="CliWrap" Version="3.6.6" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
13+
<PackageReference Include="CliWrap" Version="3.8.2" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
1515
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
16-
<PackageReference Include="NUnit" Version="3.14.0" />
17-
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
16+
<PackageReference Include="NUnit" Version="4.3.2" />
17+
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
1818
</ItemGroup>
1919

2020
</Project>

tests/allpackages/TestAllIndividualPackages.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ async Task TestAllPackages (string template, bool isGps)
189189
}
190190
xd.Save(proj_file);
191191

192-
ReplaceInFile (proj_file, ">21</SupportedOSPlatformVersion>", $">{platform_version}</SupportedOSPlatformVersion>");
192+
ReplaceInFile (proj_file, ">21</SupportedOSPlatformVersion>", $">{platform_version}</SupportedOSPlatformVersion>");
193193
ReplaceInFile (proj_file, ">21.0</SupportedOSPlatformVersion>", $">{platform_version}</SupportedOSPlatformVersion>");
194194
ReplaceInFile (proj_file, $";{net_version}-ios", "");
195195
ReplaceInFile (proj_file, $";{net_version}-maccatalyst", "");

tests/extended/ExtendedTests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="CliWrap" Version="3.6.6" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
13+
<PackageReference Include="CliWrap" Version="3.8.2" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
1515
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
16-
<PackageReference Include="NUnit" Version="3.14.0" />
17-
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
16+
<PackageReference Include="NUnit" Version="4.3.2" />
17+
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
1818
</ItemGroup>
1919

2020
</Project>

util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFrameworks>net8.0</TargetFrameworks>
55
<LangVersion>12.0</LangVersion>
66
<PreserveCompilationContext>true</PreserveCompilationContext>
77
<RootNamespace>AndroidBinderator</RootNamespace>
@@ -25,7 +25,7 @@
2525

2626
<ItemGroup>
2727
<PackageReference Include="RazorLight" Version="2.3.1" />
28-
<PackageReference Include="System.Text.Json" Version="6.0.10" />
28+
<PackageReference Include="System.Text.Json" Version="9.0.4" />
2929
<PackageReference Include="MavenNet" Version="2.2.14" />
3030
</ItemGroup>
3131

@@ -35,7 +35,7 @@
3535

3636
<ItemGroup>
3737
<Reference Include="Java.Interop.Tools.Maven">
38-
<HintPath>..\..\..\tools\Microsoft.Android.Sdk.Windows.35.0.0-rc.1.80\tools\Java.Interop.Tools.Maven.dll</HintPath>
38+
<HintPath>..\..\..\tools\Microsoft.Android.Sdk.Windows.35.0.61\tools\Java.Interop.Tools.Maven.dll</HintPath>
3939
<Private>True</Private>
4040
</Reference>
4141
</ItemGroup>

util/Xamarin.Build.Download/source/Xamarin.Build.Download.Tests/Test.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class Test : TestsBase
2424

2525
void AddCoreTargets (ProjectRootElement el)
2626
{
27-
var baseDir = new Uri(System.Reflection.Assembly.GetExecutingAssembly().CodeBase).LocalPath;
27+
var baseDir = new Uri(System.Reflection.Assembly.GetExecutingAssembly().Location).LocalPath;
2828

2929
var props = Path.Combine (baseDir, "..", "..", "source", "Xamarin.Build.Download", "bin", Configuration, "netstandard20", "Xamarin.Build.Download.props");
3030

@@ -504,7 +504,7 @@ public void TestGetItemsToDownload ()
504504

505505
var itemToDownload = project.GetItems ("XamarinBuildDownloadItemToDownload");
506506

507-
Assert.Equal (1, itemToDownload.Count);
507+
Assert.Single (itemToDownload);
508508
Assert.True (itemToDownload.First ().GetMetadata ("Url").EvaluatedValue == itemUrl);
509509
}
510510

@@ -543,7 +543,7 @@ public void TestDeduplicateGetItemsToDownload ()
543543

544544
var itemToDownload = project.GetItems ("XamarinBuildDownloadItemToDownload");
545545

546-
Assert.Equal (1, itemToDownload.Count);
546+
Assert.Single (itemToDownload);
547547
Assert.True (itemToDownload.First ().GetMetadata ("Url").EvaluatedValue == itemUrl);
548548
}
549549

0 commit comments

Comments
 (0)