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

Commit 8c56b1f

Browse files
committed
Fix build warnings
1 parent 5735254 commit 8c56b1f

File tree

3 files changed

+25
-19
lines changed

3 files changed

+25
-19
lines changed

samples/StaticFileSample/project.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"emitEntryPoint": true
44
},
55
"dependencies": {
@@ -23,10 +23,12 @@
2323
]
2424
}
2525
},
26-
"content": [
27-
"wwwroot",
28-
"web.config"
29-
],
26+
"publishOptions": {
27+
"include": [
28+
"wwwroot",
29+
"web.config"
30+
]
31+
},
3032
"tools": {
3133
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
3234
"version": "1.0.0-*",

src/Microsoft.AspNetCore.StaticFiles/project.json

Lines changed: 10 additions & 8 deletions
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
"keyFile": "../../tools/Key.snk",
66
"nowarn": [
@@ -9,13 +9,15 @@
99
"xmlDoc": true
1010
},
1111
"description": "ASP.NET Core static files middleware. Includes middleware for serving static files, directory browsing, and default files.",
12-
"tags": [
13-
"aspnetcore",
14-
"staticfiles"
15-
],
16-
"repository": {
17-
"type": "git",
18-
"url": "git://github.com/aspnet/staticfiles"
12+
"packOptions": {
13+
"repository": {
14+
"type": "git",
15+
"url": "git://github.com/aspnet/staticfiles"
16+
},
17+
"tags": [
18+
"aspnetcore",
19+
"staticfiles"
20+
]
1921
},
2022
"dependencies": {
2123
"Microsoft.AspNetCore.Http.Extensions": "1.0.0-*",

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
2-
"compilationOptions": {
2+
"buildOptions": {
33
"warningsAsErrors": true,
44
"keyFile": "../../tools/Key.snk"
55
},
6-
"content": [
7-
"SubFolder/**/*",
8-
"TestDocument.txt"
9-
],
6+
"publishOptions": {
7+
"include": [
8+
"SubFolder/**/*",
9+
"TestDocument.txt"
10+
]
11+
},
1012
"dependencies": {
13+
"dotnet-test-xunit": "1.0.0-*",
1114
"Microsoft.NETCore.Platforms": "1.0.1-*",
1215
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
1316
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
@@ -22,7 +25,6 @@
2225
"version": "1.0.0-*",
2326
"type": "platform"
2427
},
25-
"dotnet-test-xunit": "1.0.0-*",
2628
"System.Diagnostics.Process": "4.1.0-*"
2729
},
2830
"imports": [

0 commit comments

Comments
 (0)