diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-11-16 18:11:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-16 10:11:01 -0700 |
| commit | ceb850c77052c465af8422dcf152f1d1d1530457 (patch) | |
| tree | 03596036aa41f2927ec5efc9d94cf99917d66fdf /Jellyfin.Data | |
| parent | 5e8c0fe40c0eb4c29b0f11cdf397c9880708e74b (diff) | |
Update projects to .NET 9 (#13023)
Diffstat (limited to 'Jellyfin.Data')
| -rw-r--r-- | Jellyfin.Data/Entities/User.cs | 2 | ||||
| -rw-r--r-- | Jellyfin.Data/Jellyfin.Data.csproj | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Data/Entities/User.cs b/Jellyfin.Data/Entities/User.cs index 2c9cc8d78..9bbe9efe8 100644 --- a/Jellyfin.Data/Entities/User.cs +++ b/Jellyfin.Data/Entities/User.cs @@ -514,7 +514,7 @@ namespace Jellyfin.Data.Entities /// </summary> public void AddDefaultPreferences() { - foreach (var val in Enum.GetValues(typeof(PreferenceKind)).Cast<PreferenceKind>()) + foreach (var val in Enum.GetValues<PreferenceKind>()) { Preferences.Add(new Preference(val, string.Empty)); } diff --git a/Jellyfin.Data/Jellyfin.Data.csproj b/Jellyfin.Data/Jellyfin.Data.csproj index 0c17d71e7..921cf2d8c 100644 --- a/Jellyfin.Data/Jellyfin.Data.csproj +++ b/Jellyfin.Data/Jellyfin.Data.csproj @@ -1,7 +1,7 @@ <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> - <TargetFramework>net8.0</TargetFramework> + <TargetFramework>net9.0</TargetFramework> <GenerateAssemblyInfo>false</GenerateAssemblyInfo> <GenerateDocumentationFile>true</GenerateDocumentationFile> <PublishRepositoryUrl>true</PublishRepositoryUrl> |
