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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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