Fix build warnings

This commit is contained in:
Pranav K 2016-05-02 11:27:27 -07:00
parent f4452846cf
commit 5ad3ffc4f6
3 changed files with 18 additions and 14 deletions

View File

@ -1,5 +1,5 @@
{ {
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"dependencies": { "dependencies": {
@ -12,9 +12,11 @@
"Microsoft.Extensions.Caching.SqlServer": "1.0.0-*", "Microsoft.Extensions.Caching.SqlServer": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*" "Microsoft.Extensions.Logging.Console": "1.0.0-*"
}, },
"content": [ "publishOptions": {
"web.config" "include": [
], "web.config"
]
},
"frameworks": { "frameworks": {
"net451": {} "net451": {}
}, },

View File

@ -1,14 +1,16 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET Core session state middleware.", "description": "ASP.NET Core session state middleware.",
"tags": [ "packOptions": {
"aspnetcore", "repository": {
"session", "type": "git",
"sessionstate" "url": "git://github.com/aspnet/session"
], },
"repository": { "tags": [
"type": "git", "aspnetcore",
"url": "git://github.com/aspnet/session" "session",
"sessionstate"
]
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*", "Microsoft.AspNetCore.Http.Abstractions": "1.0.0-*",
@ -16,7 +18,7 @@
"Microsoft.Extensions.Logging.Abstractions": "1.0.0-*", "Microsoft.Extensions.Logging.Abstractions": "1.0.0-*",
"Microsoft.Extensions.Options": "1.0.0-*" "Microsoft.Extensions.Options": "1.0.0-*"
}, },
"compilationOptions": { "buildOptions": {
"allowUnsafe": true, "allowUnsafe": true,
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",

View File

@ -1,5 +1,6 @@
{ {
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.AspNetCore.Session": "1.0.0-*", "Microsoft.AspNetCore.Session": "1.0.0-*",
"Microsoft.AspNetCore.TestHost": "1.0.0-*", "Microsoft.AspNetCore.TestHost": "1.0.0-*",
@ -15,7 +16,6 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"type": "platform" "type": "platform"
}, },
"dotnet-test-xunit": "1.0.0-*",
"System.Threading.Thread": "4.0.0-*", "System.Threading.Thread": "4.0.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.Process": "4.1.0-*"
}, },