diff --git a/docs/changelog.md b/docs/changelog.md index 367b7fe..141e841 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -11,6 +11,7 @@ `F3` Properties `F4` Commands - The German, Chinese and Japanese translations were updated. Thanks to the translators! +- Users need to install .NET 10 LTS (Long Term Support), it should run on Windows 10. # v7.1.1.4 Beta (2025-10-05) diff --git a/src/MpvNet.Windows/MpvNet.Windows.csproj b/src/MpvNet.Windows/MpvNet.Windows.csproj index 0aea80d..ac723bf 100644 --- a/src/MpvNet.Windows/MpvNet.Windows.csproj +++ b/src/MpvNet.Windows/MpvNet.Windows.csproj @@ -2,7 +2,7 @@ WinExe - net9.0-windows + net10.0-windows7.0 MpvNet.Windows false true diff --git a/src/MpvNet/Command.cs b/src/MpvNet/Command.cs index 16a1d2b..206a55d 100644 --- a/src/MpvNet/Command.cs +++ b/src/MpvNet/Command.cs @@ -28,7 +28,7 @@ public class Command ["playlist-random"] = args => PlaylistRandom(), // deprecated }; - string FormatTime(double value) => ((int)value).ToString("00"); + static string FormatTime(double value) => ((int)value).ToString("00"); void PlayPause(IList args) { diff --git a/src/MpvNet/MpvNet.csproj b/src/MpvNet/MpvNet.csproj index 153563d..bbfd868 100644 --- a/src/MpvNet/MpvNet.csproj +++ b/src/MpvNet/MpvNet.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 libmpvnet MpvNet false diff --git a/src/NGettext.Wpf/NGettext.Wpf.csproj b/src/NGettext.Wpf/NGettext.Wpf.csproj index a0b84ba..d3e5e53 100644 --- a/src/NGettext.Wpf/NGettext.Wpf.csproj +++ b/src/NGettext.Wpf/NGettext.Wpf.csproj @@ -1,7 +1,7 @@ - net9.0-windows + net10.0-windows7.0 true enable false diff --git a/src/Tools/release-mpv.net.ps1 b/src/Tools/release-mpv.net.ps1 index 750bfb1..511fb06 100644 --- a/src/Tools/release-mpv.net.ps1 +++ b/src/Tools/release-mpv.net.ps1 @@ -40,7 +40,7 @@ Test (Join-Path $SourceDir 'MpvNet.sln') $7zFile = Test 'C:\Program Files\7-Zip\7z.exe' $InnoSetupCompiler = Test 'C:\Program Files (x86)\Inno Setup 6\ISCC.exe' -$ReleaseNotes = "- [.NET Desktop Runtime 9.0](https://dotnet.microsoft.com/en-us/download/dotnet/9.0)`n- [Changelog](https://github.com/mpvnet-player/mpv.net/blob/main/docs/changelog.md)" +$ReleaseNotes = "- [.NET Desktop Runtime 10.0](https://dotnet.microsoft.com/en-us/download/dotnet/10.0)`n- [Changelog](https://github.com/mpvnet-player/mpv.net/blob/main/docs/changelog.md)" $Repo = 'github.com/mpvnet-player/mpv.net' # Dotnet Publish