mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 16:33:25 -03:00
Update projects to .NET 9 (#13023)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
|
||||
@@ -193,7 +193,7 @@ namespace MediaBrowser.Common.Plugins
|
||||
}
|
||||
catch
|
||||
{
|
||||
var config = (TConfigurationType)Activator.CreateInstance(typeof(TConfigurationType));
|
||||
var config = Activator.CreateInstance<TConfigurationType>();
|
||||
SaveConfiguration(config);
|
||||
return config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user