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

Commit 08e394d

Browse files
committed
Fix build warnings
1 parent eb77b07 commit 08e394d

9 files changed

Lines changed: 51 additions & 41 deletions

File tree

samples/LocalizationSample/project.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
"Microsoft.Extensions.Localization": "1.0.0-*",
99
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
1010
},
11-
"compilationOptions": {
11+
"buildOptions": {
1212
"emitEntryPoint": true
1313
},
14-
"content": [
15-
"web.config"
16-
],
14+
"publishOptions": {
15+
"include": [
16+
"web.config"
17+
]
18+
},
1719
"frameworks": {
1820
"net451": {},
1921
"netcoreapp1.0": {

src/Microsoft.AspNetCore.Localization/project.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
22
"version": "1.0.0-*",
33
"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.",
4-
"tags": [
5-
"aspnetcore",
6-
"localization"
7-
],
8-
"repository": {
9-
"type": "git",
10-
"url": "https://github.com/aspnet/localization"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/aspnet/localization"
8+
},
9+
"tags": [
10+
"aspnetcore",
11+
"localization"
12+
]
1113
},
12-
"compilationOptions": {
14+
"buildOptions": {
1315
"warningsAsErrors": true,
1416
"keyFile": "../../tools/Key.snk",
1517
"nowarn": [

src/Microsoft.Extensions.Globalization.CultureInfoCache/project.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
22
"version": "1.0.0-*",
33
"description": "Provides cached instances of CultureInfo using a generated list of known culture names for use in scenarios where unbounded CultureInfo creation is undesirable.",
4-
"tags": [
5-
"globalization",
6-
"localization"
7-
],
8-
"repository": {
9-
"type": "git",
10-
"url": "https://github.com/aspnet/localization"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/aspnet/localization"
8+
},
9+
"tags": [
10+
"globalization",
11+
"localization"
12+
]
1113
},
12-
"compilationOptions": {
14+
"buildOptions": {
1315
"warningsAsErrors": true,
1416
"keyFile": "../../tools/Key.snk",
1517
"nowarn": [

src/Microsoft.Extensions.Localization.Abstractions/project.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"version": "1.0.0-*",
33
"description": "Abstractions of application localization services.\r\nCommonly used types:\r\nMicrosoft.Extensions.Localization.IStringLocalizer\r\nMicrosoft.Extensions.Localization.IStringLocalizer<T>",
4-
"tags": [
5-
"localization"
6-
],
7-
"repository": {
8-
"type": "git",
9-
"url": "https://github.com/aspnet/localization"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/aspnet/localization"
8+
},
9+
"tags": [
10+
"localization"
11+
]
1012
},
11-
"compilationOptions": {
13+
"buildOptions": {
1214
"warningsAsErrors": true,
1315
"keyFile": "../../tools/Key.snk",
1416
"nowarn": [

src/Microsoft.Extensions.Localization/project.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"version": "1.0.0-*",
33
"description": "Application localization services and default implementation based on ResourceManager to load localized assembly resources.",
4-
"tags": [
5-
"localization"
6-
],
7-
"repository": {
8-
"type": "git",
9-
"url": "https://github.com/aspnet/localization"
4+
"packOptions": {
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/aspnet/localization"
8+
},
9+
"tags": [
10+
"localization"
11+
]
1012
},
11-
"compilationOptions": {
13+
"buildOptions": {
1214
"warningsAsErrors": true,
1315
"keyFile": "../../tools/Key.snk",
1416
"nowarn": [

test/LocalizationWebsite/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "1.0.0-*",
3-
"compilationOptions": {
3+
"buildOptions": {
44
"warningsAsErrors": true,
55
"emitEntryPoint": true
66
},

test/Microsoft.AspNetCore.Localization.FunctionalTests/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"warningsAsErrors": true
44
},
55
"dependencies": {
6+
"dotnet-test-xunit": "1.0.0-*",
67
"Microsoft.NETCore.Platforms": "1.0.1-*",
78
"Microsoft.AspNetCore.Localization": "1.0.0-*",
89
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
@@ -21,7 +22,6 @@
2122
"version": "1.0.0-*",
2223
"type": "platform"
2324
},
24-
"dotnet-test-xunit": "1.0.0-*",
2525
"System.Diagnostics.Process": "4.1.0-*"
2626
}
2727
},

test/Microsoft.AspNetCore.Localization.Tests/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"warningsAsErrors": true
44
},
55
"dependencies": {
6+
"dotnet-test-xunit": "1.0.0-*",
67
"Microsoft.NETCore.Platforms": "1.0.1-*",
78
"Microsoft.AspNetCore.Localization": "1.0.0-*",
89
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
@@ -20,7 +21,6 @@
2021
"version": "1.0.0-*",
2122
"type": "platform"
2223
},
23-
"dotnet-test-xunit": "1.0.0-*",
2424
"System.Diagnostics.Process": "4.1.0-*"
2525
}
2626
},

test/Microsoft.Extensions.Localization.Tests/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"warningsAsErrors": true,
44
"keyFile": "../../tools/Key.snk"
55
},
66
"dependencies": {
7+
"dotnet-test-xunit": "1.0.0-*",
78
"Microsoft.NETCore.Platforms": "1.0.1-*",
89
"Microsoft.Extensions.DependencyInjection": "1.0.0-*",
910
"Microsoft.Extensions.Localization": "1.0.0-*",
@@ -22,7 +23,6 @@
2223
},
2324
"moq.netcore": "4.4.0-beta8",
2425
"System.Resources.Writer": "4.0.0-*",
25-
"dotnet-test-xunit": "1.0.0-*",
2626
"System.Diagnostics.Process": "4.1.0-*",
2727
"System.Diagnostics.TraceSource": "4.0.0-*"
2828
}

0 commit comments

Comments
 (0)