Fix build warnings

This commit is contained in:
Pranav K 2016-05-02 11:27:20 -07:00
parent 50e1ee2460
commit 59d905ae3b
4 changed files with 32 additions and 28 deletions

View File

@ -4,7 +4,7 @@
],
"description": "Music store application on ASP.NET 5",
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"warningsAsErrors": true,
"define": [
@ -22,13 +22,15 @@
"../MusicStore/bin",
"../MusicStore/obj"
],
"content": [
"Areas",
"Views",
"wwwroot",
"config.json",
"web.config"
],
"publishOptions": {
"include": [
"Areas",
"Views",
"wwwroot",
"config.json",
"web.config"
]
},
"dependencies": {
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-*",
"Microsoft.AspNetCore.Authentication.Facebook": "1.0.0-*",
@ -77,11 +79,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

@ -4,7 +4,7 @@
],
"description": "Music store application on ASP.NET 5",
"version": "1.0.0-*",
"compilationOptions": {
"buildOptions": {
"emitEntryPoint": true,
"warningsAsErrors": true,
"define": [
@ -16,13 +16,15 @@
"compile": [
"../../shared/**/*.cs"
],
"content": [
"Areas",
"Views",
"wwwroot",
"config.json",
"web.config"
],
"publishOptions": {
"include": [
"Areas",
"Views",
"wwwroot",
"config.json",
"web.config"
]
},
"dependencies": {
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-*",
"Microsoft.AspNetCore.Authentication.Facebook": "1.0.0-*",
@ -50,7 +52,7 @@
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"frameworks": {
"net451": { },
"net451": {},
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {

View File

@ -1,11 +1,12 @@
{
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true
},
"compile": [
"../../shared/**/*.cs"
],
"dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.AspNetCore.Identity": "1.0.0-*",
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-*",
"Microsoft.AspNetCore.Authentication.OpenIdConnect": "0.1.0-*",
@ -22,7 +23,6 @@
"version": "1.0.0-*",
"type": "platform"
},
"dotnet-test-xunit": "1.0.0-*",
"System.Data.SqlClient": "4.1.0-*",
"System.Xml.XmlDocument": "4.0.1-*"
},

View File

@ -1,8 +1,9 @@
{
"compilationOptions": {
"buildOptions": {
"warningsAsErrors": true
},
"dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.Extensions.Logging.Testing": "1.0.0-*",
"MusicStore": "1.0.0-*",
"XUnit": "2.1.0"
@ -17,8 +18,7 @@
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
},
"dotnet-test-xunit": "1.0.0-*"
}
}
},
"net451": {}