SIL.Core.Tests 18.1.0-beta0007

Prefix Reserved
This is a prerelease version of SIL.Core.Tests.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package SIL.Core.Tests --version 18.1.0-beta0007
                    
NuGet\Install-Package SIL.Core.Tests -Version 18.1.0-beta0007
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SIL.Core.Tests" Version="18.1.0-beta0007" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SIL.Core.Tests" Version="18.1.0-beta0007" />
                    
Directory.Packages.props
<PackageReference Include="SIL.Core.Tests" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SIL.Core.Tests --version 18.1.0-beta0007
                    
#r "nuget: SIL.Core.Tests, 18.1.0-beta0007"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SIL.Core.Tests@18.1.0-beta0007
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SIL.Core.Tests&version=18.1.0-beta0007&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SIL.Core.Tests&version=18.1.0-beta0007&prerelease
                    
Install as a Cake Tool

Unit tests for SIL.Core

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
18.1.0-beta0008 0 11/19/2026
18.1.0-beta0007 0 11/19/2026
18.1.0-beta0006 0 11/19/2026
18.1.0-beta0005 0 11/19/2026
18.1.0-beta0004 44 11/17/2026
18.1.0-beta0003 66 11/17/2026
18.0.1-beta0002 86 11/13/2026
18.0.1-beta0001 84 11/10/2026
18.0.0 203 10/12/2026
18.0.0-beta0050 97 10/12/2026
18.0.0-beta0049 95 10/12/2026
18.0.0-beta0048 105 10/9/2026
18.0.0-beta0047 99 10/8/2026
18.0.0-beta0046 94 10/8/2026
18.0.0-beta0045 94 10/7/2026
18.0.0-beta0044 109 9/29/2026
18.0.0-beta0043 112 9/25/2026
18.0.0-beta0042 108 9/23/2026
18.0.0-beta0041 111 9/17/2026
18.0.0-beta0040 100 9/17/2026
Loading failed

Changes since version 18.0.0

Added:
- [SIL.Windows.Forms.Scripture] Added `net8.0-windows` target.
- [SIL.Windows.Forms.Widgets] Added WrappingButton: A button that, when its text doesn't fit within MaximumSize.Width, wraps onto additional lines and grows taller instead of growing wider or clipping.

Fixed:
- [SIL.Media] `MediaInfo.Audio`/`.Video` now treat the audio/video stream flagged `default` as the "primary" stream (falling back to the lowest index when none is flagged), instead of always using the lowest-index stream regardless of its flags. (Upstream fix for [rosenbjerg/FFMpegCore#360](https://github.com/rosenbjerg/FFMpegCore/issues/360), picked up via the FFMpegCore bump below.)
- [SIL.Media] `MediaInfo.AnalysisData.Duration` now reflects the longest of every audio, video, and subtitle track plus the container's own duration, rather than just the primary audio/video streams. (Upstream fix for [rosenbjerg/FFMpegCore#361](https://github.com/rosenbjerg/FFMpegCore/issues/361), picked up via the FFMpegCore bump below.)
- [SIL.Media] `MediaInfo.Video.Resolution` is now an empty string (rather than a malformed value like `"x144"`) when ffprobe can't determine a stream's width or height.
- [SIL.Media] `MediaInfo.Audio`/`.Video.Encoding` is now an empty string (rather than `null`) when ffprobe doesn't report a codec name for the stream.
- [SIL.Core] `XmlUtils.ConvertMultiParagraphToSafeXml` converts `"\r\n"` to a single U+2028 line separator on every platform. On Linux and macOS it used to produce two, and on Windows a `"\r\n"` at the very start of the string also produced two.
- [SIL.Core] `DirectoryHelper.AreEquivalent` no longer ignores trailing dots on Linux and macOS, where `foo.` and `foo` are different folders. Windows behavior is unchanged.
- [SIL.Scripture] A versification that lists chapters and verses for a non-canonical book (e.g. `XXA 1:20 2:10` in a project's custom.vrs) now uses those limits for `ScrVers.GetLastChapter`/`GetLastVerse`, `VerseRef.Valid`/`ValidStatus` and verse navigation, instead of always allowing 998 chapters of 998 verses. Non-canonical books it doesn't list are unchanged. A non-canonical book listed as exactly one chapter with one verse (e.g. `XXA 1:1`) is still treated as unlisted, because saved versification files already use that line for books they don't list.

Changed:
- [All] Raised the C# language version from 8 to 13. Building libpalaso now requires a compiler that supports C# 13 (.NET 9 SDK, Visual Studio 2022 17.12+, or Rider 2024.3+). Target frameworks and public API are unchanged, but the compiled assemblies differ (for example, a module-level `RefSafetyRulesAttribute` marker).
- [SIL.Windows.Forms.Scripture] `VerseControl`'s copy/paste right-click menu is now a `ContextMenuStrip` on every target (the legacy `ContextMenu` does not exist in .NET 8 WinForms), so it renders in the ToolStrip style. `SetContextMenuLabels` is unchanged.
- [SIL.Windows.Forms] `SILAboutBox`'s left-column controls (version, build date, "Check for Updates" button, "Release Notes" link) now wrap at a width derived from the logo, so long localized text wraps instead of overflowing the column. The "Check for Updates" button grows to fit multi-line text instead of overflowing sideways (unlike `Label`, `Button`'s `AutoSize` doesn't wrap text to a maximum width on its own). Also corrected "Check For Updates" to standard title case ("Check for Updates").
- [SIL.Media] BREAKING CHANGE: Bumped FFMpegCore from 5.5.0 to 6.0.0. `MediaInfo.AnalysisData` exposes FFMpegCore's `IMediaAnalysis` directly, and in 6.0 its stream/chapter/tag collections became read-only (`IReadOnlyList<T>`/`IReadOnlyDictionary<string, string>` instead of mutable `List<T>`/`Dictionary<string, string>`), `ErrorData` was renamed to `StandardError`, and several numeric/string properties on the underlying `MediaStream`/`MediaFormat` types (e.g. `Width`, `Height`, `Channels`, `BitRate`, `CodecName`) became nullable or changed type. Code that uses only `MediaInfo.Audio`/`.Video` is unaffected; code that consumes `MediaInfo.AnalysisData` directly may need updating.

See full changelog at https://github.com/sillsdev/libpalaso/blob/master/CHANGELOG.md