Fix build warnings

This commit is contained in:
Pranav K 2016-05-02 11:27:18 -07:00
parent 0a538c563b
commit f0358182e4
8 changed files with 47 additions and 37 deletions

View File

@ -4,7 +4,7 @@
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
}, },
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"frameworks": { "frameworks": {
@ -21,7 +21,9 @@
] ]
} }
}, },
"content": [ "publishOptions": {
"include": [
"hosting.json" "hosting.json"
] ]
} }
}

View File

@ -6,7 +6,7 @@
"Microsoft.AspNetCore.Server.Kestrel.Https": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel.Https": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*" "Microsoft.Extensions.Logging.Console": "1.0.0-*"
}, },
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"frameworks": { "frameworks": {
@ -24,8 +24,10 @@
] ]
} }
}, },
"content": [ "publishOptions": {
"include": [
"hosting.json", "hosting.json",
"testCert.pfx" "testCert.pfx"
] ]
} }
}

View File

@ -1,21 +1,23 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "HTTPS support for the ASP.NET Core Kestrel cross-platform web server.", "description": "HTTPS support for the ASP.NET Core Kestrel cross-platform web server.",
"tags": [ "buildOptions": {
"aspnetcore",
"kestrel"
],
"compilationOptions": {
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [
"CS1591" "CS1591"
], ],
"xmlDoc": true "xmlDoc": true
}, },
"packOptions": {
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/aspnet/kestrelhttpserver" "url": "git://github.com/aspnet/kestrelhttpserver"
}, },
"tags": [
"aspnetcore",
"kestrel"
]
},
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*" "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
}, },

View File

@ -1,14 +1,16 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core Kestrel cross-platform web server.", "description": "ASP.NET Core Kestrel cross-platform web server.",
"tags": [ "packOptions": {
"aspnetcore",
"kestrel"
],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/aspnet/kestrelhttpserver" "url": "git://github.com/aspnet/kestrelhttpserver"
}, },
"tags": [
"aspnetcore",
"kestrel"
]
},
"dependencies": { "dependencies": {
"System.Buffers": "4.0.0-*", "System.Buffers": "4.0.0-*",
"System.Numerics.Vectors": "4.1.1-*", "System.Numerics.Vectors": "4.1.1-*",
@ -51,7 +53,7 @@
] ]
} }
}, },
"compilationOptions": { "buildOptions": {
"allowUnsafe": true, "allowUnsafe": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "nowarn": [

View File

@ -1,6 +1,7 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*", "Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
@ -16,7 +17,6 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"type": "platform" "type": "platform"
}, },
"dotnet-test-xunit": "1.0.0-*",
"System.Net.Http": "4.0.1-*", "System.Net.Http": "4.0.1-*",
"System.Runtime.Serialization.Primitives": "4.1.1-*" "System.Runtime.Serialization.Primitives": "4.1.1-*"
}, },
@ -35,7 +35,7 @@
} }
} }
}, },
"compilationOptions": { "buildOptions": {
"allowUnsafe": true "allowUnsafe": true
}, },
"testRunner": "xunit" "testRunner": "xunit"

View File

@ -12,7 +12,7 @@
] ]
} }
}, },
"compilationOptions": { "buildOptions": {
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
} }
} }

View File

@ -1,6 +1,7 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel.Https": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel.Https": "1.0.0-*",
@ -21,8 +22,7 @@
"System.Net.Http": "4.0.1-*", "System.Net.Http": "4.0.1-*",
"System.Net.Http.WinHttpHandler": "4.0.0-*", "System.Net.Http.WinHttpHandler": "4.0.0-*",
"System.Net.Sockets": "4.1.0-*", "System.Net.Sockets": "4.1.0-*",
"System.Runtime.Handles": "4.0.1-*", "System.Runtime.Handles": "4.0.1-*"
"dotnet-test-xunit": "1.0.0-*"
}, },
"imports": [ "imports": [
"dnxcore50", "dnxcore50",
@ -38,12 +38,14 @@
} }
} }
}, },
"compilationOptions": { "buildOptions": {
"allowUnsafe": true, "allowUnsafe": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"testRunner": "xunit", "testRunner": "xunit",
"content": [ "publishOptions": {
"include": [
"TestResources/testCert.pfx" "TestResources/testCert.pfx"
] ]
} }
}

View File

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