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

Commit 4b226b7

Browse files
committed
Fix build warnings
1 parent 78f36d6 commit 4b226b7

File tree

15 files changed

+97
-69
lines changed

15 files changed

+97
-69
lines changed

samples/MemoryCacheConcurencySample/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"emitEntryPoint": true
44
},
55
"dependencies": {

samples/MemoryCacheSample/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"emitEntryPoint": true
44
},
55
"dependencies": {

samples/ProfilingSample/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"emitEntryPoint": true
44
},
55
"dependencies": {

samples/RedisCacheSample/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"emitEntryPoint": true
44
},
55
"dependencies": {

samples/SqlServerCacheConcurencySample/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": {
@@ -10,9 +10,11 @@
1010
"Microsoft.Extensions.Options": "1.0.0-*",
1111
"Microsoft.Extensions.PlatformAbstractions": "1.0.0-*"
1212
},
13-
"content": [
14-
"config.json"
15-
],
13+
"publishOptions": {
14+
"include": [
15+
"config.json"
16+
]
17+
},
1618
"frameworks": {
1719
"net451": {},
1820
"netcoreapp1.0": {

samples/SqlServerCacheSample/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": {
@@ -9,9 +9,11 @@
99
"Microsoft.Extensions.Configuration.Json": "1.0.0-*",
1010
"Microsoft.Extensions.PlatformAbstractions": "1.0.0-*"
1111
},
12-
"content": [
13-
"config.json"
14-
],
12+
"publishOptions": {
13+
"include": [
14+
"config.json"
15+
]
16+
},
1517
"frameworks": {
1618
"net451": {},
1719
"netcoreapp1.0": {
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"warningsAsErrors": true,
44
"keyFile": "../../tools/Key.snk"
55
},
@@ -11,8 +11,10 @@
1111
"net451": {}
1212
},
1313
"version": "1.0.0-rc1-final",
14-
"repository": {
15-
"type": "git",
16-
"url": "https://github.com/aspnet/caching"
14+
"packOptions": {
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/aspnet/caching"
18+
}
1719
}
1820
}

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

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"warningsAsErrors": true,
44
"keyFile": "../../tools/Key.snk",
55
"nowarn": [
@@ -8,11 +8,6 @@
88
"xmlDoc": true
99
},
1010
"description": "Caching abstractions for in-memory cache and distributed cache.\r\nCommonly used types:\r\nMicrosoft.Extensions.Caching.Distributed.IDistributedCache\r\nMicrosoft.Extensions.Caching.Memory.IMemoryCache",
11-
"tags": [
12-
"cache",
13-
"memorycache",
14-
"distributedcache"
15-
],
1611
"dependencies": {
1712
"Microsoft.Extensions.Primitives": "1.0.0-*"
1813
},
@@ -41,8 +36,15 @@
4136
}
4237
},
4338
"version": "1.0.0-*",
44-
"repository": {
45-
"type": "git",
46-
"url": "https://github.com/aspnet/caching"
39+
"packOptions": {
40+
"repository": {
41+
"type": "git",
42+
"url": "https://github.com/aspnet/caching"
43+
},
44+
"tags": [
45+
"cache",
46+
"memorycache",
47+
"distributedcache"
48+
]
4749
}
4850
}

src/Microsoft.Extensions.Caching.Memory.VSRC1/project.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"version": "1.0.0-rc1-final",
33
"description": "ASP.NET 5 in memory cache abstractions and implementation.",
4-
"repository": {
5-
"type": "git",
6-
"url": "https://github.com/aspnet/caching"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/aspnet/caching"
8+
}
79
},
8-
"compilationOptions": {
10+
"buildOptions": {
911
"warningsAsErrors": true,
1012
"keyFile": "../../tools/Key.snk"
1113
},

src/Microsoft.Extensions.Caching.Memory/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": "In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.",
4-
"tags": [
5-
"cache",
6-
"memorycache"
7-
],
8-
"repository": {
9-
"type": "git",
10-
"url": "https://github.com/aspnet/caching"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/aspnet/caching"
8+
},
9+
"tags": [
10+
"cache",
11+
"memorycache"
12+
]
1113
},
12-
"compilationOptions": {
14+
"buildOptions": {
1315
"warningsAsErrors": true,
1416
"keyFile": "../../tools/Key.snk",
1517
"nowarn": [

0 commit comments

Comments
 (0)