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.AspNetCore.Server.Kestrel": "1.0.0-*"
},
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"content": [
"web.config"
],
"publishOptions": {
"include": [
"web.config"
]
},
"frameworks": {
"net451": {},
"netcoreapp1.0": {

View File

@ -1,15 +1,17 @@
{
"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.",
"tags": [
"aspnetcore",
"localization"
],
"repository": {
"type": "git",
"url": "https://github.com/aspnet/localization"
"packOptions": {
"repository": {
"type": "git",
"url": "https://github.com/aspnet/localization"
},
"tags": [
"aspnetcore",
"localization"
]
},
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk",
"nowarn": [

View File

@ -1,15 +1,17 @@
{
"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.",
"tags": [
"globalization",
"localization"
],
"repository": {
"type": "git",
"url": "https://github.com/aspnet/localization"
"packOptions": {
"repository": {
"type": "git",
"url": "https://github.com/aspnet/localization"
},
"tags": [
"globalization",
"localization"
]
},
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk",
"nowarn": [

View File

@ -1,14 +1,16 @@
{
"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>",
"tags": [
"localization"
],
"repository": {
"type": "git",
"url": "https://github.com/aspnet/localization"
"packOptions": {
"repository": {
"type": "git",
"url": "https://github.com/aspnet/localization"
},
"tags": [
"localization"
]
},
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk",
"nowarn": [

View File

@ -1,14 +1,16 @@
{
"version": "1.0.0-*",
"description": "Application localization services and default implementation based on ResourceManager to load localized assembly resources.",
"tags": [
"localization"
],
"repository": {
"type": "git",
"url": "https://github.com/aspnet/localization"
"packOptions": {
"repository": {
"type": "git",
"url": "https://github.com/aspnet/localization"
},
"tags": [
"localization"
]
},
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk",
"nowarn": [

View File

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

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.Localization": "1.0.0-*",
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
@ -21,7 +22,6 @@
"version": "1.0.0-*",
"type": "platform"
},
"dotnet-test-xunit": "1.0.0-*",
"System.Diagnostics.Process": "4.1.0-*"
}
},

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.Localization": "1.0.0-*",
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
@ -20,7 +21,6 @@
"version": "1.0.0-*",
"type": "platform"
},
"dotnet-test-xunit": "1.0.0-*",
"System.Diagnostics.Process": "4.1.0-*"
}
},

View File

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