Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit a953e30

Browse files
committed
Fix build warnings
1 parent b494969 commit a953e30

File tree

11 files changed

+94
-72
lines changed

11 files changed

+94
-72
lines changed

samples/SampleApp/project.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"emitEntryPoint": true
44
},
55
"dependencies": {
@@ -12,9 +12,11 @@
1212
"Microsoft.Extensions.Logging.Filter": "1.0.0-*",
1313
"Microsoft.Extensions.PlatformAbstractions": "1.0.0-*"
1414
},
15-
"content": [
16-
"logging.json"
17-
],
15+
"publishOptions": {
16+
"include": [
17+
"logging.json"
18+
]
19+
},
1820
"frameworks": {
1921
"net451": {
2022
"dependencies": {

src/Microsoft.Extensions.Logging.Abstractions/project.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"version": "1.0.0-*",
3-
"repository": {
4-
"type": "git",
5-
"url": "git://github.com/aspnet/logging"
3+
"packOptions": {
4+
"repository": {
5+
"type": "git",
6+
"url": "git://github.com/aspnet/logging"
7+
},
8+
"tags": [
9+
"logging"
10+
]
611
},
712
"description": "Logging abstractions for Microsoft.Extensions.Logging.\r\nCommonly used types:\r\nMicrosoft.Extensions.Logging.ILogger\r\nMicrosoft.Extensions.Logging.ILoggerFactory\r\nMicrosoft.Extensions.Logging.ILogger<TCategoryName>\r\nMicrosoft.Extensions.Logging.LogLevel\r\nMicrosoft.Extensions.Logging. \r\nMicrosoft.Extensions.Logging.",
8-
"tags": [
9-
"logging"
10-
],
11-
"compilationOptions": {
13+
"buildOptions": {
1214
"warningsAsErrors": true,
1315
"keyFile": "../../tools/Key.snk",
1416
"nowarn": [

src/Microsoft.Extensions.Logging.Console/project.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"version": "1.0.0-*",
3-
"repository": {
4-
"type": "git",
5-
"url": "git://github.com/aspnet/logging"
3+
"packOptions": {
4+
"repository": {
5+
"type": "git",
6+
"url": "git://github.com/aspnet/logging"
7+
},
8+
"tags": [
9+
"logging"
10+
]
611
},
712
"description": "Console logger provider implementation for Microsoft.Extensions.Logging.",
8-
"tags": [
9-
"logging"
10-
],
11-
"compilationOptions": {
13+
"buildOptions": {
1214
"warningsAsErrors": true,
1315
"keyFile": "../../tools/Key.snk",
1416
"nowarn": [

src/Microsoft.Extensions.Logging.Debug/project.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"version": "1.0.0-*",
33
"description": "Debug output logger provider implementation for Microsoft.Extensions.Logging. This logger logs messages to a debugger monitor by writing messages with System.Diagnostics.Debug.WriteLine().",
4-
"tags": [
5-
"logging"
6-
],
7-
"repository": {
8-
"type": "git",
9-
"url": "git://github.com/aspnet/logging"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "git://github.com/aspnet/logging"
8+
},
9+
"tags": [
10+
"logging"
11+
]
1012
},
11-
"compilationOptions": {
13+
"buildOptions": {
1214
"warningsAsErrors": true,
1315
"keyFile": "../../tools/Key.snk",
1416
"nowarn": [

src/Microsoft.Extensions.Logging.EventLog/project.json

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
{
22
"version": "1.0.0-*",
33
"description": "Windows Event Log logger provider implementation for Microsoft.Extensions.Logging.",
4-
"tags": [
5-
"eventlog",
6-
"logging",
7-
"windowseventlog"
8-
],
9-
"repository": {
10-
"type": "git",
11-
"url": "git://github.com/aspnet/logging"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "git://github.com/aspnet/logging"
8+
},
9+
"tags": [
10+
"eventlog",
11+
"logging",
12+
"windowseventlog"
13+
]
1214
},
13-
"compilationOptions": {
15+
"buildOptions": {
1416
"warningsAsErrors": true,
1517
"keyFile": "../../tools/Key.snk",
16-
"nowarn": [ "CS1591" ],
18+
"nowarn": [
19+
"CS1591"
20+
],
1721
"xmlDoc": true
1822
},
1923
"dependencies": {
@@ -22,7 +26,9 @@
2226
"frameworks": {
2327
"net451": {
2428
"frameworkAssemblies": {
25-
"System.Runtime": { "type": "build" }
29+
"System.Runtime": {
30+
"type": "build"
31+
}
2632
}
2733
}
2834
}

src/Microsoft.Extensions.Logging.Filter/project.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
22
"version": "1.0.0-*",
3-
"repository": {
4-
"type": "git",
5-
"url": "git://github.com/aspnet/logging"
3+
"packOptions": {
4+
"repository": {
5+
"type": "git",
6+
"url": "git://github.com/aspnet/logging"
7+
},
8+
"tags": [
9+
"logging"
10+
]
611
},
712
"description": "Provides a common way to filter log messages across all registered logger providers.",
8-
"compilationOptions": {
13+
"buildOptions": {
914
"warningsAsErrors": true,
1015
"keyFile": "../../tools/Key.snk",
1116
"xmlDoc": true,
1217
"nowarn": [
1318
"CS1591"
1419
]
1520
},
16-
"tags": [
17-
"logging"
18-
],
1921
"dependencies": {
2022
"Microsoft.Extensions.Configuration.Abstractions": "1.0.0-*",
2123
"Microsoft.Extensions.Logging.Abstractions": "1.0.0-*"

src/Microsoft.Extensions.Logging.Testing/project.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
22
"description": "Helpers for writing tests that use Microsoft.Extensions.Logging. Contains null implementations of the abstractions that do nothing, as well as test implementations that are observable.",
3-
"tags": [
4-
"logging",
5-
"testing"
6-
],
73
"version": "1.0.0-*",
8-
"compilationOptions": {
4+
"buildOptions": {
95
"warningsAsErrors": true,
106
"keyFile": "../../tools/Key.snk",
117
"nowarn": [
128
"CS1591"
139
],
1410
"xmlDoc": true
1511
},
16-
"repository": {
17-
"type": "git",
18-
"url": "git://github.com/aspnet/logging"
12+
"packOptions": {
13+
"repository": {
14+
"type": "git",
15+
"url": "git://github.com/aspnet/logging"
16+
},
17+
"tags": [
18+
"logging",
19+
"testing"
20+
]
1921
},
2022
"dependencies": {
2123
"Microsoft.Extensions.Logging.Abstractions": "1.0.0-*",

src/Microsoft.Extensions.Logging.TraceSource/project.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
22
"version": "1.0.0-*",
33
"description": "TraceSource logger provider implementation for Microsoft.Extensions.Logging. This logger logs messages to a trace listener by writing messages with System.Diagnostics.TraceSource.TraceEvent().",
4-
"tags": [
5-
"logging",
6-
"tracesource"
7-
],
8-
"repository": {
9-
"type": "git",
10-
"url": "git://github.com/aspnet/logging"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "git://github.com/aspnet/logging"
8+
},
9+
"tags": [
10+
"logging",
11+
"tracesource"
12+
]
1113
},
12-
"compilationOptions": {
14+
"buildOptions": {
1315
"warningsAsErrors": true,
1416
"keyFile": "../../tools/Key.snk",
1517
"nowarn": [

src/Microsoft.Extensions.Logging/project.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
{
22
"version": "1.0.0-*",
33
"description": "Logging infrastructure default implementation for Microsoft.Extensions.Logging.",
4-
"tags": [
5-
"logging"
6-
],
7-
"repository": {
8-
"type": "git",
9-
"url": "git://github.com/aspnet/logging"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "git://github.com/aspnet/logging"
8+
},
9+
"tags": [
10+
"logging"
11+
]
1012
},
1113
"dependencies": {
1214
"Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-*",
1315
"Microsoft.Extensions.Logging.Abstractions": "1.0.0-*"
1416
},
15-
"compilationOptions": {
17+
"buildOptions": {
1618
"warningsAsErrors": true,
1719
"define": [
1820
"TRACE"

test/Microsoft.Extensions.Logging.Test/project.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"warningsAsErrors": true
44
},
55
"dependencies": {
6+
"dotnet-test-xunit": "1.0.0-*",
67
"Microsoft.NETCore.Platforms": "1.0.1-*",
78
"Microsoft.AspNetCore.Testing": "1.0.0-*",
89
"Microsoft.Extensions.DependencyInjection": "1.0.0-*",
@@ -26,8 +27,7 @@
2627
"type": "platform"
2728
},
2829
"System.Diagnostics.Process": "4.1.0-*",
29-
"moq.netcore": "4.4.0-beta8",
30-
"dotnet-test-xunit": "1.0.0-*"
30+
"moq.netcore": "4.4.0-beta8"
3131
}
3232
},
3333
"net451": {

0 commit comments

Comments
 (0)