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

Commit f6cdb9f

Browse files
committed
Fix build warnings
1 parent d5f29c1 commit f6cdb9f

File tree

22 files changed

+181
-143
lines changed

22 files changed

+181
-143
lines changed

samples/CookieSample/project.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
88
"Microsoft.Extensions.Logging.Console": "1.0.0-*"
99
},
10-
"compilationOptions": {
10+
"buildOptions": {
1111
"emitEntryPoint": true
1212
},
1313
"frameworks": {
@@ -24,9 +24,11 @@
2424
}
2525
}
2626
},
27-
"content": [
28-
"web.config"
29-
],
27+
"publishOptions": {
28+
"include": [
29+
"web.config"
30+
]
31+
},
3032
"tools": {
3133
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
3234
"version": "1.0.0-*",

samples/CookieSessionSample/project.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"Microsoft.Extensions.Caching.Memory": "1.0.0-*",
99
"Microsoft.Extensions.Logging.Console": "1.0.0-*"
1010
},
11-
"compilationOptions": {
11+
"buildOptions": {
1212
"emitEntryPoint": true
1313
},
1414
"frameworks": {
@@ -25,9 +25,11 @@
2525
}
2626
}
2727
},
28-
"content": [
29-
"web.config"
30-
],
28+
"publishOptions": {
29+
"include": [
30+
"web.config"
31+
]
32+
},
3133
"tools": {
3234
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
3335
"version": "1.0.0-*",

samples/JwtBearerSample/project.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "1.0.0-*",
3-
"compilationOptions": {
3+
"buildOptions": {
44
"emitEntryPoint": true
55
},
66
"dependencies": {
@@ -26,11 +26,13 @@
2626
}
2727
}
2828
},
29-
"content": [
30-
"project.json",
31-
"wwwroot",
32-
"web.config"
33-
],
29+
"publishOptions": {
30+
"include": [
31+
"project.json",
32+
"wwwroot",
33+
"web.config"
34+
]
35+
},
3436
"userSecretsId": "aspnet5-JwtBearerSample-20151210102827",
3537
"tools": {
3638
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {

samples/OpenIdConnect.AzureAdSample/project.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
"frameworks": {
1414
"net451": {}
1515
},
16-
"compilationOptions": {
16+
"buildOptions": {
1717
"emitEntryPoint": true
1818
},
19-
"content": [
20-
"project.json",
21-
"web.config"
22-
],
19+
"publishOptions": {
20+
"include": [
21+
"project.json",
22+
"web.config"
23+
]
24+
},
2325
"userSecretsId": "aspnet5-OpenIdConnectSample-20151210110318",
2426
"tools": {
2527
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {

samples/OpenIdConnectSample/project.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@
2323
}
2424
}
2525
},
26-
"compilationOptions": {
26+
"buildOptions": {
2727
"emitEntryPoint": true
2828
},
29-
"content": [
30-
"project.json",
31-
"web.config"
32-
],
29+
"publishOptions": {
30+
"include": [
31+
"project.json",
32+
"web.config"
33+
]
34+
},
3335
"userSecretsId": "aspnet5-OpenIdConnectSample-20151210110318",
3436
"tools": {
3537
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {

samples/SocialSample/project.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
1616
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-*"
1717
},
18-
"compilationOptions": {
18+
"buildOptions": {
1919
"emitEntryPoint": true
2020
},
2121
"frameworks": {
22-
"net451": { },
22+
"net451": {},
2323
"netcoreapp1.0": {
2424
"imports": [
2525
"dnxcore50"
@@ -33,11 +33,13 @@
3333
}
3434
},
3535
"userSecretsId": "aspnet5-SocialSample-20151210111056",
36-
"content": [
37-
"config.json",
38-
"project.json",
39-
"web.config"
40-
],
36+
"publishOptions": {
37+
"include": [
38+
"config.json",
39+
"project.json",
40+
"web.config"
41+
]
42+
},
4143
"tools": {
4244
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
4345
"version": "1.0.0-*",

src/Microsoft.AspNetCore.Authentication.Cookies/project.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"version": "1.0.0-*",
33
"description": "ASP.NET Core middleware that enables an application to use cookie based authentication.",
4-
"tags": [
5-
"aspnetcore",
6-
"authentication",
7-
"security"
8-
],
9-
"repository": {
10-
"type": "git",
11-
"url": "git://github.com/aspnet/security"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "git://github.com/aspnet/security"
8+
},
9+
"tags": [
10+
"aspnetcore",
11+
"authentication",
12+
"security"
13+
]
1214
},
13-
"compilationOptions": {
15+
"buildOptions": {
1416
"warningsAsErrors": true,
1517
"keyFile": "../../tools/Key.snk",
1618
"nowarn": [

src/Microsoft.AspNetCore.Authentication.Facebook/project.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"version": "1.0.0-*",
33
"description": "ASP.NET Core middleware that enables an application to support Facebook's OAuth 2.0 authentication workflow.",
4-
"tags": [
5-
"aspnetcore",
6-
"authentication",
7-
"security"
8-
],
9-
"repository": {
10-
"type": "git",
11-
"url": "git://github.com/aspnet/security"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "git://github.com/aspnet/security"
8+
},
9+
"tags": [
10+
"aspnetcore",
11+
"authentication",
12+
"security"
13+
]
1214
},
13-
"compilationOptions": {
15+
"buildOptions": {
1416
"warningsAsErrors": true,
1517
"keyFile": "../../tools/Key.snk",
1618
"nowarn": [

src/Microsoft.AspNetCore.Authentication.Google/project.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"version": "1.0.0-*",
33
"description": "ASP.NET Core contains middleware to support Google's OpenId and OAuth 2.0 authentication workflows.",
4-
"tags": [
5-
"aspnetcore",
6-
"authentication",
7-
"security"
8-
],
9-
"repository": {
10-
"type": "git",
11-
"url": "git://github.com/aspnet/security"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "git://github.com/aspnet/security"
8+
},
9+
"tags": [
10+
"aspnetcore",
11+
"authentication",
12+
"security"
13+
]
1214
},
13-
"compilationOptions": {
15+
"buildOptions": {
1416
"warningsAsErrors": true,
1517
"keyFile": "../../tools/Key.snk",
1618
"nowarn": [

src/Microsoft.AspNetCore.Authentication.JwtBearer/project.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"version": "1.0.0-*",
33
"description": "ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token.",
4-
"tags": [
5-
"aspnetcore",
6-
"authentication",
7-
"security"
8-
],
9-
"repository": {
10-
"type": "git",
11-
"url": "git://github.com/aspnet/security"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "git://github.com/aspnet/security"
8+
},
9+
"tags": [
10+
"aspnetcore",
11+
"authentication",
12+
"security"
13+
]
1214
},
13-
"compilationOptions": {
15+
"buildOptions": {
1416
"warningsAsErrors": true,
1517
"keyFile": "../../tools/Key.snk",
1618
"nowarn": [

0 commit comments

Comments
 (0)