Browse Source

Add a buildOptions/copyToOutput node to ensure the necessary files are copied when publishing

pull/110/head
Kévin Chalet 10 years ago
parent
commit
1eba9765f6
  1. 10
      samples/Mvc.Client/project.json
  2. 11
      samples/Mvc.Server/project.json

10
samples/Mvc.Client/project.json

@ -3,7 +3,15 @@
"debugType": "portable",
"emitEntryPoint": true,
"warningsAsErrors": true,
"preserveCompilationContext": true
"preserveCompilationContext": true,
"copyToOutput": {
"include": [
"wwwroot",
"Views",
"web.config"
]
}
},
"dependencies": {

11
samples/Mvc.Server/project.json

@ -3,7 +3,16 @@
"debugType": "portable",
"emitEntryPoint": true,
"warningsAsErrors": true,
"preserveCompilationContext": true
"preserveCompilationContext": true,
"copyToOutput": {
"include": [
"wwwroot",
"Views",
"config.json",
"web.config"
]
}
},
"dependencies": {

Loading…
Cancel
Save