diff --git a/src/Serilog.Sinks.IOFile/project.json b/src/Serilog.Sinks.IOFile/project.json index 8762bd2a1..35b652da5 100644 --- a/src/Serilog.Sinks.IOFile/project.json +++ b/src/Serilog.Sinks.IOFile/project.json @@ -13,7 +13,14 @@ "keyFile": "../../assets/Serilog.snk" }, "frameworks": { - "net45": { + "net45": { + }, + "dotnet5.1": { + "dependencies": { + "System.IO": "4.0.11-beta-23516", + "System.IO.FileSystem": "4.0.0", + "System.IO.FileSystem.Primitives": "4.0.0" + } }, "dotnet5.4": { "dependencies": { diff --git a/src/Serilog.Sinks.PeriodicBatching/project.json b/src/Serilog.Sinks.PeriodicBatching/project.json index a929fd1d0..9abe7c4ce 100644 --- a/src/Serilog.Sinks.PeriodicBatching/project.json +++ b/src/Serilog.Sinks.PeriodicBatching/project.json @@ -14,7 +14,7 @@ }, "frameworks": { "net45": { - "compilationOptions": { + "compilationOptions": { "define": [ "PERIODIC_BATCHING" ] }, "frameworkAssemblies": { @@ -28,6 +28,14 @@ "dependencies": { "System.Collections.Concurrent": "4.0.11-beta-23516" } - } + }, + "dotnet5.4": { + "compilationOptions": { + "define": [ "PERIODIC_BATCHING", "NO_TIMER", "NO_APPDOMAIN" ] + }, + "dependencies": { + "System.Collections.Concurrent": "4.0.11-beta-23516" + } + } } } \ No newline at end of file diff --git a/src/Serilog.Sinks.RollingFile/project.json b/src/Serilog.Sinks.RollingFile/project.json index 7ca38721e..c9225d8cf 100644 --- a/src/Serilog.Sinks.RollingFile/project.json +++ b/src/Serilog.Sinks.RollingFile/project.json @@ -15,7 +15,7 @@ }, "frameworks": { "net45": { - }, + }, "dotnet5.4": { "dependencies": { "System.IO": "4.0.11-beta-23516", diff --git a/src/Serilog.Sinks.SystemConsole/project.json b/src/Serilog.Sinks.SystemConsole/project.json index 1df5ab3e7..e84968733 100644 --- a/src/Serilog.Sinks.SystemConsole/project.json +++ b/src/Serilog.Sinks.SystemConsole/project.json @@ -19,6 +19,11 @@ "dependencies": { "System.Console": "4.0.0-beta-23516" } + }, + "dotnet5.4": { + "dependencies": { + "System.Console": "4.0.0-beta-23516" + } } } } \ No newline at end of file