Skip to content

Commit fce6918

Browse files
Chore: Bump Microsoft.Build.Utilities.Core and 12 others (#734)
* Chore: Bump Microsoft.Build.Utilities.Core and 12 others Bumps Microsoft.Build.Utilities.Core from 18.0.2 to 18.3.3 Bumps Microsoft.Extensions.DependencyModel to 2.1.0, 9.0.13 Bumps Microsoft.NET.Test.Sdk from 17.11.1 to 17.14.1 Bumps NUnit from 3.13.3 to 3.14.0 Bumps NUnit3TestAdapter from 4.5.0 to 4.6.0 Bumps SIL.BuildTasks from 3.1.2-beta0012 to 3.2.0 Bumps SIL.LCModel from 11.0.0-beta0156 to 11.0.0-beta0158 Bumps SIL.LCModel.Utils from 11.0.0-beta0156 to 11.0.0-beta0158 Bumps SIL.TestUtilities from 12.0.0 to 12.0.1 Bumps System.Drawing.Common from 9.0.9 to 9.0.13 Bumps System.Reflection.Metadata from 9.0.0 to 9.0.13 Bumps System.Resources.Extensions from 9.0.0 to 9.0.13 Bumps System.Security.Permissions from 9.0.9 to 9.0.13 * Adjust to latest version of NUnit and Newtonsoft.Json Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jason Naylor <jason_naylor@sil.org>
1 parent cbc9499 commit fce6918

9 files changed

Lines changed: 27 additions & 23 deletions

File tree

Build/SilVersions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
=============================================================
1313
-->
1414
<PropertyGroup Label="SIL Ecosystem Versions">
15-
<SilLcmVersion>11.0.0-beta0156</SilLcmVersion>
15+
<SilLcmVersion>11.0.0-beta0158</SilLcmVersion>
1616
<SilLibPalasoVersion>17.0.0</SilLibPalasoVersion>
1717
<SilChorusVersion>6.0.0-beta0063</SilChorusVersion>
1818
<SilMachineVersion>3.7.13</SilMachineVersion>

Build/Src/FwBuildTasks/FwBuildTasks.csproj

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
<Prefer32Bit>false</Prefer32Bit>
2222
</PropertyGroup>
2323
<ItemGroup>
24-
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="18.0.2" />
25-
<PackageReference Include="NUnit" Version="3.13.3" PrivateAssets="All" />
24+
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="18.3.3" />
25+
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
26+
<PackageReference Include="NUnit" Version="3.14.0" PrivateAssets="All" />
2627
<PackageReference Include="NUnit3TestAdapter" Version="5.2.0" PrivateAssets="All" />
27-
<PackageReference Include="SIL.BuildTasks" Version="3.1.2-beta0012" />
28-
<PackageReference Include="SIL.TestUtilities" Version="12.0.0-*" PrivateAssets="All" />
29-
<PackageReference Include="System.Reflection.Metadata" Version="9.0.0" />
28+
<PackageReference Include="SIL.BuildTasks" Version="3.2.0" />
29+
<PackageReference Include="SIL.TestUtilities" Version="12.0.1" PrivateAssets="All" />
30+
<PackageReference Include="System.Reflection.Metadata" Version="9.0.13" />
31+
<PackageReference Include="System.Resources.Extensions" Version="9.0.13" />
3032
<Reference Include="netstandard" />
3133
<Reference Include="Microsoft.Build.Framework" />
3234
<Reference Include="System.IO.Compression" />

Build/Src/FwBuildTasks/app.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
99
<dependentAssembly>
1010
<assemblyIdentity name="nunit.framework" publicKeyToken="2638cd05610744eb" culture="neutral" />
11-
<bindingRedirect oldVersion="0.0.0.0-3.13.3.0" newVersion="3.13.3.0" />
11+
<bindingRedirect oldVersion="0.0.0.0-3.14.0.0" newVersion="3.14.0.0" />
1212
</dependentAssembly>
1313
</assemblyBinding>
1414
</runtime>

Directory.Packages.props

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,21 @@
2525
<ItemGroup Label="Transitive Pins">
2626
<!-- System.Drawing.Common: SIL.LCModel.Core pulls 6.0.0 transitively,
2727
but ParatextData 9.5.x requires >= 9.0.9. Pin to 9.0.9. -->
28-
<PackageVersion Include="System.Drawing.Common" Version="9.0.9" />
28+
<PackageVersion Include="System.Drawing.Common" Version="9.0.13" />
29+
<PackageVersion Include="System.Reflection.Metadata" Version="9.0.13" />
2930
<!-- System.Resources.Extensions: required for non-string resources (images, icons)
3031
in .NET Framework SDK-style projects. -->
31-
<PackageVersion Include="System.Resources.Extensions" Version="9.0.0" />
32+
<PackageVersion Include="System.Resources.Extensions" Version="9.0.13" />
3233
<!-- DependencyModel: icu.net wants 2.0.4, ParatextData wants 9.0.9.
3334
9.0.9 is backward compatible with 2.0.4 API surface. -->
34-
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="9.0.9" />
35+
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="9.0.13" />
3536
<!-- System.Memory: ParatextData requires 4.6.3; other packages want 4.5.0–4.6.0. -->
3637
<PackageVersion Include="System.Memory" Version="4.6.3" />
3738
<!-- Microsoft.Bcl.HashCode: System.Resources.Extensions 9.0.0 requires HashCode. -->
3839
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="6.0.0" />
3940
<!-- System.Security.Permissions (LT-22394): ProDotNetZip needs >= 8.0.0,
4041
System.Security.AccessControl needs >= 6.0.0. Pin to 9.0.9. -->
41-
<PackageVersion Include="System.Security.Permissions" Version="9.0.9" />
42+
<PackageVersion Include="System.Security.Permissions" Version="9.0.13" />
4243
</ItemGroup>
4344

4445
<!--
@@ -148,9 +149,9 @@
148149
-->
149150
<ItemGroup Label="Test Infrastructure">
150151
<PackageVersion Include="Moq" Version="4.20.70" />
151-
<PackageVersion Include="NUnit" Version="3.13.3" />
152-
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
152+
<PackageVersion Include="NUnit" Version="3.14.0" />
153+
<PackageVersion Include="NUnit3TestAdapter" Version="4.6.0" />
153154
<PackageVersion Include="NUnitForms" Version="1.3.1" />
154-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
155+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
155156
</ItemGroup>
156157
</Project>

Src/InstallValidator/InstallValidatorTests/InstallValidatorTests.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@
3737
</Reference>
3838
<Reference Include="Microsoft.Build.Utilities.Core">
3939
<HintPath>../../../BuildTools/FwBuildTasks/$(Configuration)/Microsoft.Build.Utilities.Core.dll</HintPath>
40-
<Private>False</Private>
40+
<Private>True</Private>
4141
</Reference>
4242
</ItemGroup>
4343
<ItemGroup>
4444
<ProjectReference Include="../InstallValidator.csproj" />
4545
</ItemGroup>
46+
<ItemGroup>
47+
<None Include="../../AppForTests.config" Link="App.config" />
48+
</ItemGroup>
4649
<ItemGroup>
4750
<Compile Include="..\..\CommonAssemblyInfo.cs">
4851
<Link>Properties\CommonAssemblyInfo.cs</Link>

Src/xWorks/UploadToWebonaryController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private string PostContentToWebonary(UploadToWebonaryModel model, IUploadToWebon
240240
string response;
241241
try
242242
{
243-
response = client.PostDictionaryMetadata(targetURI, postContent.ToString(Formatting.None));
243+
response = client.PostDictionaryMetadata(targetURI, postContent.ToString(Formatting.None, new JsonConverter[0]));
244244
}
245245
catch (WebonaryClient.WebonaryException e)
246246
{
@@ -327,7 +327,7 @@ private bool PostEntriesToWebonary(UploadToWebonaryModel model, IUploadToWebonar
327327
string response;
328328
try
329329
{
330-
response = client.PostEntry(targetURI, postContent.ToString(Formatting.None), isReversal);
330+
response = client.PostEntry(targetURI, postContent.ToString(Formatting.None, new JsonConverter[0]), isReversal);
331331
}
332332
catch (WebonaryClient.WebonaryException e)
333333
{

Src/xWorks/xWorksTests/LcmJsonGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ public void SavePublishedJsonWithStyles_DisplayXhtmlPopulated()
11441144
var expectedWithoutWs = (JObject)JsonConvert.DeserializeObject(expectedResultsWithoutWs, new JsonSerializerSettings { Formatting = Formatting.None });
11451145
var expectedWithWs = (JObject)JsonConvert.DeserializeObject(expectedResultsWithWs, new JsonSerializerSettings { Formatting = Formatting.None });
11461146

1147-
dynamic jsonResult = JsonConvert.DeserializeObject(results[0][0].ToString(Formatting.None), new JsonSerializerSettings { Formatting = Formatting.None });
1147+
dynamic jsonResult = JsonConvert.DeserializeObject(results[0][0].ToString(Formatting.None, new JsonConverter[0]), new JsonSerializerSettings { Formatting = Formatting.None });
11481148
string actualReformatted = JsonConvert.SerializeObject(jsonResult, Formatting.Indented);
11491149
Assert.That(actualReformatted, Is.AnyOf(JsonConvert.SerializeObject(expectedWithoutWs, Formatting.Indented),
11501150
JsonConvert.SerializeObject(expectedWithWs, Formatting.Indented)));

Src/xWorks/xWorksTests/xWorksTests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@
4141
</ItemGroup>
4242
<ItemGroup>
4343
<Reference Include="Microsoft.CSharp" />
44-
<Reference Include="nunit.framework">
45-
<HintPath>..\..\..\packages\NUnit.3.13.3\lib\net45\nunit.framework.dll</HintPath>
46-
<SpecificVersion>False</SpecificVersion>
47-
</Reference>
4844
<Reference Include="System" />
4945
<Reference Include="System.Core" />
5046
<Reference Include="System.Drawing" />

test.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,10 @@ try {
269269
# Find all test DLLs, excluding:
270270
# - Test framework DLLs (nunit, Microsoft.*, xunit)
271271
# - External NuGet package tests (SIL.LCModel.*.Tests) - these test liblcm, not FieldWorks
272+
# - SIL.WritingSystems.Tests - NuGet-delivered libpalaso test DLL compiled against
273+
# NUnit 3.13.3; loading it causes binding-redirect failures (not a FieldWorks test)
272274
$testDlls = Get-ChildItem -Path $outputDir -Filter "*Tests.dll" -ErrorAction SilentlyContinue |
273-
Where-Object { $_.Name -notmatch '^nunit|^Microsoft|^xunit|^SIL\.LCModel' } |
275+
Where-Object { $_.Name -notmatch '^nunit|^Microsoft|^xunit|^SIL\.LCModel|^SIL\.WritingSystems\.Tests' } |
274276
Select-Object -ExpandProperty FullName
275277

276278
# Some test projects (e.g., under Lib/src) are not copied into Output/<Configuration>.

0 commit comments

Comments
 (0)