Fix build warnings

This commit is contained in:
Pranav K 2016-05-02 11:27:26 -07:00
parent d5f29c1408
commit f6cdb9faf9
22 changed files with 181 additions and 143 deletions

View File

@ -7,7 +7,7 @@
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*" "Microsoft.Extensions.Logging.Console": "1.0.0-*"
}, },
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"frameworks": { "frameworks": {
@ -24,9 +24,11 @@
} }
} }
}, },
"content": [ "publishOptions": {
"web.config" "include": [
], "web.config"
]
},
"tools": { "tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-*", "version": "1.0.0-*",

View File

@ -8,7 +8,7 @@
"Microsoft.Extensions.Caching.Memory": "1.0.0-*", "Microsoft.Extensions.Caching.Memory": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*" "Microsoft.Extensions.Logging.Console": "1.0.0-*"
}, },
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"frameworks": { "frameworks": {
@ -25,9 +25,11 @@
} }
} }
}, },
"content": [ "publishOptions": {
"web.config" "include": [
], "web.config"
]
},
"tools": { "tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-*", "version": "1.0.0-*",

View File

@ -1,6 +1,6 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"dependencies": { "dependencies": {
@ -26,11 +26,13 @@
} }
} }
}, },
"content": [ "publishOptions": {
"project.json", "include": [
"wwwroot", "project.json",
"web.config" "wwwroot",
], "web.config"
]
},
"userSecretsId": "aspnet5-JwtBearerSample-20151210102827", "userSecretsId": "aspnet5-JwtBearerSample-20151210102827",
"tools": { "tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": {

View File

@ -13,13 +13,15 @@
"frameworks": { "frameworks": {
"net451": {} "net451": {}
}, },
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"content": [ "publishOptions": {
"project.json", "include": [
"web.config" "project.json",
], "web.config"
]
},
"userSecretsId": "aspnet5-OpenIdConnectSample-20151210110318", "userSecretsId": "aspnet5-OpenIdConnectSample-20151210110318",
"tools": { "tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": {

View File

@ -23,13 +23,15 @@
} }
} }
}, },
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"content": [ "publishOptions": {
"project.json", "include": [
"web.config" "project.json",
], "web.config"
]
},
"userSecretsId": "aspnet5-OpenIdConnectSample-20151210110318", "userSecretsId": "aspnet5-OpenIdConnectSample-20151210110318",
"tools": { "tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": {

View File

@ -15,11 +15,11 @@
"Microsoft.Extensions.Logging.Console": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-*" "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-*"
}, },
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"frameworks": { "frameworks": {
"net451": { }, "net451": {},
"netcoreapp1.0": { "netcoreapp1.0": {
"imports": [ "imports": [
"dnxcore50" "dnxcore50"
@ -33,11 +33,13 @@
} }
}, },
"userSecretsId": "aspnet5-SocialSample-20151210111056", "userSecretsId": "aspnet5-SocialSample-20151210111056",
"content": [ "publishOptions": {
"config.json", "include": [
"project.json", "config.json",
"web.config" "project.json",
], "web.config"
]
},
"tools": { "tools": {
"Microsoft.AspNetCore.Server.IISIntegration.Tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-*", "version": "1.0.0-*",

View File

@ -1,16 +1,18 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core middleware that enables an application to use cookie based authentication.", "description": "ASP.NET Core middleware that enables an application to use cookie based authentication.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authentication", "type": "git",
"security" "url": "git://github.com/aspnet/security"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/security" "authentication",
"security"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,16 +1,18 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core middleware that enables an application to support Facebook's OAuth 2.0 authentication workflow.", "description": "ASP.NET Core middleware that enables an application to support Facebook's OAuth 2.0 authentication workflow.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authentication", "type": "git",
"security" "url": "git://github.com/aspnet/security"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/security" "authentication",
"security"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,16 +1,18 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core contains middleware to support Google's OpenId and OAuth 2.0 authentication workflows.", "description": "ASP.NET Core contains middleware to support Google's OpenId and OAuth 2.0 authentication workflows.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authentication", "type": "git",
"security" "url": "git://github.com/aspnet/security"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/security" "authentication",
"security"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,16 +1,18 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token.", "description": "ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authentication", "type": "git",
"security" "url": "git://github.com/aspnet/security"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/security" "authentication",
"security"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,16 +1,18 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core middleware that enables an application to support the Microsoft Account authentication workflow.", "description": "ASP.NET Core middleware that enables an application to support the Microsoft Account authentication workflow.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authentication", "type": "git",
"security" "url": "git://github.com/aspnet/security"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/security" "authentication",
"security"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,16 +1,18 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core middleware that enables an application to support any standard OAuth 2.0 authentication workflow.", "description": "ASP.NET Core middleware that enables an application to support any standard OAuth 2.0 authentication workflow.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authentication", "type": "git",
"security" "url": "git://github.com/aspnet/security"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/security" "authentication",
"security"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,16 +1,18 @@
{ {
"version": "0.1.0-*", "version": "0.1.0-*",
"description": "ASP.NET Core middleware that enables an application to support the OpenID Connect authentication workflow.", "description": "ASP.NET Core middleware that enables an application to support the OpenID Connect authentication workflow.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authentication", "type": "git",
"security" "url": "git://github.com/aspnet/security"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/security" "authentication",
"security"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,16 +1,18 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core middleware that enables an application to support Twitter's OAuth 2.0 authentication workflow.", "description": "ASP.NET Core middleware that enables an application to support Twitter's OAuth 2.0 authentication workflow.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authentication", "type": "git",
"security" "url": "git://github.com/aspnet/security"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/security" "authentication",
"security"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,16 +1,18 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core common types used by the various authentication middleware components.", "description": "ASP.NET Core common types used by the various authentication middleware components.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authentication", "type": "git",
"security" "url": "git://github.com/aspnet/security"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/security" "authentication",
"security"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,15 +1,17 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core authorization classes.\r\nCommonly used types:\r\nMicrosoft.AspNetCore.Authorization.AllowAnonymousAttribute\r\nMicrosoft.AspNetCore.Authorization.AuthorizeAttribute", "description": "ASP.NET Core authorization classes.\r\nCommonly used types:\r\nMicrosoft.AspNetCore.Authorization.AllowAnonymousAttribute\r\nMicrosoft.AspNetCore.Authorization.AuthorizeAttribute",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"authorization" "type": "git",
], "url": "git://github.com/aspnet/security"
"repository": { },
"type": "git", "tags": [
"url": "git://github.com/aspnet/security" "aspnetcore",
"authorization"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,14 +1,16 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core cookie policy classes to control the behavior of cookies.", "description": "ASP.NET Core cookie policy classes to control the behavior of cookies.",
"tags": [ "packOptions": {
"aspnetcore" "repository": {
], "type": "git",
"repository": { "url": "git://github.com/aspnet/security"
"type": "git", },
"url": "git://github.com/aspnet/security" "tags": [
"aspnetcore"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,23 +1,27 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "CS1591" ], "nowarn": [
"CS1591"
],
"xmlDoc": true "xmlDoc": true
}, },
"description": "A compatibility layer for sharing authentication tickets between Microsoft.Owin.Security and Microsoft.AspNetCore.Authentication.", "description": "A compatibility layer for sharing authentication tickets between Microsoft.Owin.Security and Microsoft.AspNetCore.Authentication.",
"tags": [ "packOptions": {
"aspnetcore", "tags": [
"katana", "aspnetcore",
"owin", "katana",
"security" "owin",
], "security"
]
},
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.DataProtection.Extensions": "1.0.0-*", "Microsoft.AspNetCore.DataProtection.Extensions": "1.0.0-*",
"Microsoft.Owin.Security": "3.0.1" "Microsoft.Owin.Security": "3.0.1"
}, },
"frameworks": { "frameworks": {
"net451": { } "net451": {}
} }
} }

View File

@ -1,8 +1,9 @@
{ {
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-*", "Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-*",
"Microsoft.AspNetCore.Authentication.Facebook": "1.0.0-*", "Microsoft.AspNetCore.Authentication.Facebook": "1.0.0-*",
@ -22,7 +23,6 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"type": "platform" "type": "platform"
}, },
"dotnet-test-xunit": "1.0.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.Process": "4.1.0-*"
}, },
"imports": [ "imports": [

View File

@ -1,8 +1,9 @@
{ {
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Authorization": "1.0.0-*", "Microsoft.AspNetCore.Authorization": "1.0.0-*",
"Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.AspNetCore.Testing": "1.0.0-*",
@ -17,7 +18,6 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"type": "platform" "type": "platform"
}, },
"dotnet-test-xunit": "1.0.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.Process": "4.1.0-*"
}, },
"imports": [ "imports": [

View File

@ -1,8 +1,9 @@
{ {
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.CookiePolicy": "1.0.0-*", "Microsoft.AspNetCore.CookiePolicy": "1.0.0-*",
"Microsoft.AspNetCore.TestHost": "1.0.0-*", "Microsoft.AspNetCore.TestHost": "1.0.0-*",
@ -16,7 +17,6 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"type": "platform" "type": "platform"
}, },
"dotnet-test-xunit": "1.0.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.Process": "4.1.0-*"
}, },
"imports": [ "imports": [

View File

@ -1,5 +1,5 @@
{ {
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {