Fix build warnings

This commit is contained in:
Pranav K 2016-05-02 11:27:19 -07:00
parent eb77b07ff6
commit 08e394d994
9 changed files with 51 additions and 41 deletions

View File

@ -8,12 +8,14 @@
"Microsoft.Extensions.Localization": "1.0.0-*", "Microsoft.Extensions.Localization": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
}, },
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"content": [ "publishOptions": {
"web.config" "include": [
], "web.config"
]
},
"frameworks": { "frameworks": {
"net451": {}, "net451": {},
"netcoreapp1.0": { "netcoreapp1.0": {

View File

@ -1,15 +1,17 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core middleware for automatically applying culture information to HTTP requests. Culture information can be specified in the HTTP header, query string, cookie, or custom source.", "description": "ASP.NET Core middleware for automatically applying culture information to HTTP requests. Culture information can be specified in the HTTP header, query string, cookie, or custom source.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"localization" "type": "git",
], "url": "https://github.com/aspnet/localization"
"repository": { },
"type": "git", "tags": [
"url": "https://github.com/aspnet/localization" "aspnetcore",
"localization"
]
}, },
"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": "Provides cached instances of CultureInfo using a generated list of known culture names for use in scenarios where unbounded CultureInfo creation is undesirable.", "description": "Provides cached instances of CultureInfo using a generated list of known culture names for use in scenarios where unbounded CultureInfo creation is undesirable.",
"tags": [ "packOptions": {
"globalization", "repository": {
"localization" "type": "git",
], "url": "https://github.com/aspnet/localization"
"repository": { },
"type": "git", "tags": [
"url": "https://github.com/aspnet/localization" "globalization",
"localization"
]
}, },
"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": "Abstractions of application localization services.\r\nCommonly used types:\r\nMicrosoft.Extensions.Localization.IStringLocalizer\r\nMicrosoft.Extensions.Localization.IStringLocalizer<T>", "description": "Abstractions of application localization services.\r\nCommonly used types:\r\nMicrosoft.Extensions.Localization.IStringLocalizer\r\nMicrosoft.Extensions.Localization.IStringLocalizer<T>",
"tags": [ "packOptions": {
"localization" "repository": {
], "type": "git",
"repository": { "url": "https://github.com/aspnet/localization"
"type": "git", },
"url": "https://github.com/aspnet/localization" "tags": [
"localization"
]
}, },
"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": "Application localization services and default implementation based on ResourceManager to load localized assembly resources.", "description": "Application localization services and default implementation based on ResourceManager to load localized assembly resources.",
"tags": [ "packOptions": {
"localization" "repository": {
], "type": "git",
"repository": { "url": "https://github.com/aspnet/localization"
"type": "git", },
"url": "https://github.com/aspnet/localization" "tags": [
"localization"
]
}, },
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,6 +1,6 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"emitEntryPoint": true "emitEntryPoint": true
}, },

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.Localization": "1.0.0-*", "Microsoft.AspNetCore.Localization": "1.0.0-*",
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*", "Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
@ -21,7 +22,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-*"
} }
}, },

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.Localization": "1.0.0-*", "Microsoft.AspNetCore.Localization": "1.0.0-*",
"Microsoft.AspNetCore.TestHost": "1.0.0-*", "Microsoft.AspNetCore.TestHost": "1.0.0-*",
@ -20,7 +21,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-*"
} }
}, },

View File

@ -1,9 +1,10 @@
{ {
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.Extensions.DependencyInjection": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*",
"Microsoft.Extensions.Localization": "1.0.0-*", "Microsoft.Extensions.Localization": "1.0.0-*",
@ -22,7 +23,6 @@
}, },
"moq.netcore": "4.4.0-beta8", "moq.netcore": "4.4.0-beta8",
"System.Resources.Writer": "4.0.0-*", "System.Resources.Writer": "4.0.0-*",
"dotnet-test-xunit": "1.0.0-*",
"System.Diagnostics.Process": "4.1.0-*", "System.Diagnostics.Process": "4.1.0-*",
"System.Diagnostics.TraceSource": "4.0.0-*" "System.Diagnostics.TraceSource": "4.0.0-*"
} }