Fix build warnings

This commit is contained in:
Pranav K 2016-05-02 11:27:27 -07:00
parent 063a6c7c6a
commit 4472048169
3 changed files with 38 additions and 26 deletions

View File

@ -1,21 +1,29 @@
{
"compilationOptions": {
"warningsAsErrors": true
"buildOptions": {
"warningsAsErrors": true,
"copyToOutput": {
"include": [
"Http.config",
"nginx.conf",
"NtlmAuthentication.config"
]
}
},
"testRunner": "xunit",
"dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
"Microsoft.Extensions.Logging": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.Net.Http.Headers": "1.0.0-*"
},
"content": [
"Http.config",
"nginx.conf",
"NtlmAuthentication.config"
],
"publishOptions": {
"include": [
"Http.config",
"nginx.conf",
"NtlmAuthentication.config"
]
},
"frameworks": {
"net451": {
"frameworkAssemblies": {
@ -23,4 +31,4 @@
}
}
}
}
}

View File

@ -1,4 +1,4 @@
{
{
"version": "1.0.0-*",
"dependencies": {
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
@ -13,12 +13,14 @@
"compile": [
"../ServerComparison.TestSites/Startup*.cs"
],
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"content": [
"web.config"
],
"publishOptions": {
"include": [
"web.config"
]
},
"frameworks": {
"netcoreapp1.0": {
"imports": [
@ -40,11 +42,11 @@
"postpublish": "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%"
},
"runtimes": {
"win7-x64": { },
"win7-x86": { },
"osx.10.10-x64": { },
"osx.10.11-x64": { },
"ubuntu.14.04-x64": { },
"ubuntu.15.04-x64": { }
"win7-x64": {},
"win7-x86": {},
"osx.10.10-x64": {},
"osx.10.11-x64": {},
"ubuntu.14.04-x64": {},
"ubuntu.15.04-x64": {}
}
}

View File

@ -10,12 +10,14 @@
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.Net.Http.Headers": "1.0.0-*"
},
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true
},
"content": [
"web.config"
],
"publishOptions": {
"include": [
"web.config"
]
},
"frameworks": {
"net451": {},
"netcoreapp1.0": {
@ -27,7 +29,7 @@
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
}
}
}
},