Core 1.0中publishOptions Include的bug

  "publishOptions": {
    "include": [
      "wwwroot",
      "Views",
      "Areas/**/Views",
      "appsettings.json",
      "web.config"
    ]
  },

这个里Areas/**/Views会有bug。不能自动copy。

改成 "Areas/**/*.cshtml" 即可。

posted @ 2016-10-10 15:36  KID  阅读(195)  评论(0编辑  收藏  举报