drewnoakes / xmp-core-dotnet

.NET library for working with the Extensible Metadata Platform (XMP)
60 stars 22 forks source link

Update testing libs #53

Closed Numpsy closed 8 months ago

Numpsy commented 8 months ago

Hi,

I tried running the unit tests is VS 2022, and they wouldn't run - there were errors like

========== Starting test discovery ==========
[xUnit.net 00:00:00.5809575]   Discovering: XmpCore.Tests
[xUnit.net 00:00:00.7641230]   Discovered:  XmpCore.Tests
[xUnit.net 00:00:00.0219840] Skipping: XmpCore.Tests (could not find dependent assembly 'Microsoft.Extensions.DependencyModel, Version=1.1.0')
========== Test discovery finished: 17 Tests found in 1.5 sec ==========
Not all tests from the test run selection could be discovered.

and as NuGet is also pointing out references to old libraries with security warnings: image

maybe they can be updated to newer versions?

Note: The test project is currently running as .NET 4.8 and .NET 5.0, but the latest versions of the xunit test runner (2.5.7) seems to have bumped the minimum supported version to .NET 6.0, so maybe the test project could be bumped to 6 as well?