New: Bump to .NET Core 3.1

This commit is contained in:
ta264
2019-12-05 21:41:55 +00:00
committed by Qstick
parent ea9f622db2
commit 6235225f7d
41 changed files with 136 additions and 142 deletions

View File

@@ -91,7 +91,7 @@ namespace Radarr.Host
{
services
.AddSignalR()
#if !NETCOREAPP3_0
#if !NETCOREAPP
.AddJsonProtocol(
#else
.AddNewtonsoftJsonProtocol(
@@ -103,7 +103,7 @@ namespace Radarr.Host
})
.Configure(app =>
{
#if NETCOREAPP3_0
#if NETCOREAPP
app.UseRouting();
#endif
app.Properties["host.AppName"] = BuildInfo.AppName;