[Fixes #656] 'dotnet run' does not work on MusicStore app

This commit is contained in:
Kiran Challa 2016-05-05 15:33:19 -07:00
parent b7b0c5ba6d
commit e3808ab769
3 changed files with 53 additions and 29 deletions

View File

@ -5,23 +5,34 @@
"description": "Music store application on ASP.NET 5",
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true,
"warningsAsErrors": true,
"compile": {
"exclude": [
"../MusicStore/Program.cs",
"../MusicStore/bin",
"../MusicStore/obj"
],
"include": [
"../../shared/**/*.cs",
"../MusicStore/**/*.cs"
]
},
"copyToOutput": {
"include": [
"Areas",
"Views",
"wwwroot",
"config.json",
"web.config"
]
},
"define": [
"DEMO",
"TESTING"
],
"preserveCompilationContext": true
"emitEntryPoint": true,
"preserveCompilationContext": true,
"warningsAsErrors": true
},
"compile": [
"../../shared/**/*.cs",
"../MusicStore/**/*.cs"
],
"exclude": [
"../MusicStore/Program.cs",
"../MusicStore/bin",
"../MusicStore/obj"
],
"publishOptions": {
"include": [
"Areas",
@ -79,11 +90,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

@ -5,17 +5,28 @@
"description": "Music store application on ASP.NET 5",
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true,
"warningsAsErrors": true,
"compile": {
"include": [
"../../shared/**/*.cs"
]
},
"copyToOutput": {
"include": [
"Areas",
"Views",
"wwwroot",
"config.json",
"web.config"
]
},
"define": [
"DEMO",
"TESTING"
],
"preserveCompilationContext": true
"emitEntryPoint": true,
"preserveCompilationContext": true,
"warningsAsErrors": true
},
"compile": [
"../../shared/**/*.cs"
],
"publishOptions": {
"include": [
"Areas",
@ -52,7 +63,7 @@
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"frameworks": {
"net451": {},
"net451": { },
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {

View File

@ -1,10 +1,12 @@
{
"buildOptions": {
"warningsAsErrors": true
"warningsAsErrors": true,
"compile": {
"include": [
"../../shared/**/*.cs"
]
}
},
"compile": [
"../../shared/**/*.cs"
],
"dependencies": {
"dotnet-test-xunit": "1.0.0-*",
"Microsoft.AspNetCore.Identity": "1.0.0-*",