Fix build warnings

This commit is contained in:
Pranav K 2016-05-02 11:27:18 -07:00
parent 9a503a7ac8
commit 2205f33a59
8 changed files with 80 additions and 67 deletions

View File

@ -5,11 +5,11 @@
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "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": {
"net451": { }, "net451": {},
"netcoreapp1.0": { "netcoreapp1.0": {
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
@ -20,7 +20,9 @@
"imports": "dnxcore50" "imports": "dnxcore50"
} }
}, },
"content": [ "publishOptions": {
"include": [
"web.config" "web.config"
] ]
}
} }

View File

@ -1,14 +1,15 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true, "emitEntryPoint": true,
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "CS1591" ], "nowarn": [
"CS1591"
],
"xmlDoc": true, "xmlDoc": true,
"outputName": "dotnet-publish-iis" "outputName": "dotnet-publish-iis"
}, },
"dependencies": { "dependencies": {
"Microsoft.Extensions.CommandLineUtils": "1.0.0-*", "Microsoft.Extensions.CommandLineUtils": "1.0.0-*",
"Microsoft.DotNet.ProjectModel": "1.0.0-*", "Microsoft.DotNet.ProjectModel": "1.0.0-*",

View File

@ -1,15 +1,19 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "buildOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "CS1591" ], "nowarn": [
"CS1591"
],
"xmlDoc": true "xmlDoc": true
}, },
"description": "ASP.NET Core components for working with the IIS AspNetCoreModule.", "description": "ASP.NET Core components for working with the IIS AspNetCoreModule.",
"packOptions": {
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/aspnet/IISIntegration" "url": "git://github.com/aspnet/IISIntegration"
}
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Hosting": "1.0.0-*", "Microsoft.AspNetCore.Hosting": "1.0.0-*",
@ -24,7 +28,7 @@
} }
}, },
"frameworks": { "frameworks": {
"net451": { }, "net451": {},
"netstandard1.3": { "netstandard1.3": {
"dependencies": { "dependencies": {
"System.Security.Principal.Windows": "4.0.0-*" "System.Security.Principal.Windows": "4.0.0-*"

View File

@ -1,10 +1,12 @@
{ {
"content": [ "publishOptions": {
"include": [
"Http.config", "Http.config",
"Https.config", "Https.config",
"NtlmAuthentation.config" "NtlmAuthentation.config"
], ]
"compilationOptions": { },
"buildOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {

View File

@ -1,6 +1,7 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.TestHost": "1.0.0-*", "Microsoft.AspNetCore.TestHost": "1.0.0-*",
"xunit": "2.1.0" "xunit": "2.1.0"
@ -16,7 +17,6 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"type": "platform" "type": "platform"
}, },
"dotnet-test-xunit": "1.0.0-*",
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.Process": "4.1.0-*"
} }
}, },

View File

@ -1,5 +1,6 @@
{ {
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"xunit": "2.1.0", "xunit": "2.1.0",
"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*"
}, },
@ -11,7 +12,6 @@
"portable-net45+win8" "portable-net45+win8"
], ],
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"System.Diagnostics.Process": "4.1.0-*", "System.Diagnostics.Process": "4.1.0-*",
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"type": "platform", "type": "platform",

View File

@ -1,14 +1,16 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"compile": [ "compile": [
"../TestSites/Startup*.cs" "../TestSites/Startup*.cs"
], ],
"content": [ "publishOptions": {
"include": [
"web.config" "web.config"
], ]
},
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",

View File

@ -1,11 +1,13 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "buildOptions": {
"emitEntryPoint": true "emitEntryPoint": true
}, },
"content": [ "publishOptions": {
"include": [
"web.config" "web.config"
], ]
},
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
@ -28,14 +30,14 @@
"System.Diagnostics.Process": "4.1.0-*" "System.Diagnostics.Process": "4.1.0-*"
} }
}, },
"net451": { } "net451": {}
}, },
"runtimes": { "runtimes": {
"win7-x64": { }, "win7-x64": {},
"win7-x86": { }, "win7-x86": {},
"osx.10.10-x64": { }, "osx.10.10-x64": {},
"osx.10.11-x64": { }, "osx.10.11-x64": {},
"ubuntu.14.04-x64": { }, "ubuntu.14.04-x64": {},
"ubuntu.15.04-x64": { } "ubuntu.15.04-x64": {}
} }
} }