Skip to content

Commit 59858e6

Browse files
committed
Fixes #38 - System.Runtime reference on .NET 4.5
1 parent 9b3662d commit 59858e6

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

samples/Sample/project.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55
},
66
"dependencies": {
77
"Serilog.Extensions.Logging": { "target": "project" },
8-
"Serilog.Sinks.Literate": "2.0.0-rc-25"
8+
"Serilog.Sinks.Literate": "2.0.0-rc-25",
9+
"Microsoft.Extensions.Logging": "1.0.0-rc2-final"
910
},
1011

1112
"frameworks": {
12-
"net4.6": {
13-
"frameworkAssemblies": {
14-
"System.Runtime": ""
15-
}
16-
},
13+
"net4.6": {},
1714
"netcoreapp1.0": {
1815
"define": [ "ASYNCLOCAL" ],
1916
"dependencies": {

src/Serilog.Extensions.Logging/project.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"iconUrl": "http://serilog.net/images/serilog-extension-nuget.png"
1010
},
1111
"dependencies": {
12-
"Microsoft.Extensions.Logging": "1.0.0-rc2-final",
12+
"Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc2-final",
1313
"Serilog": "2.0.0-rc-576"
1414
},
1515
"buildOptions": {
@@ -19,9 +19,7 @@
1919
},
2020
"frameworks": {
2121
"net4.5": {
22-
"frameworkAssemblies": {
23-
"System.Runtime": ""
24-
}
22+
"dependencies": { "System.Runtime": "4.0.0" }
2523
},
2624
"netstandard1.3": {
2725
"buildOptions": {

0 commit comments

Comments
 (0)