From db11f1912965fe4c2646dbd3b914a4ca1a64c40d Mon Sep 17 00:00:00 2001 From: Matthew Erbs Date: Thu, 21 Jan 2016 13:09:21 +1000 Subject: [PATCH] Clean up on targets. Expanded to 5.4 on some sinks. Need to set a baseline for core sinks in relation to target frameworks. --- src/Serilog.Sinks.IOFile/project.json | 9 ++++++++- src/Serilog.Sinks.PeriodicBatching/project.json | 12 ++++++++++-- src/Serilog.Sinks.RollingFile/project.json | 2 +- src/Serilog.Sinks.SystemConsole/project.json | 5 +++++ 4 files changed, 24 insertions(+), 4 deletions(-) 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