ASP.NET Core: Exclude or include files on publish

前端 未结 9 825

There were before aspdotnet1.0 include/exclude sections on project.json file

{
  \"exclude\": [
    \"node_modules\",
    \"bower_c         


        
9条回答
  •  無奈伤痛
    2020-11-27 05:04

    I noticed that my folders with a few files in them were not being published- I tried right clicking the folders in the project to see if I could select an option to include the folder with the deployment- it's not there, but I did find if I select the files inside the folder and mark them to copy on deployment, it will copy the files and create their folder in the process.

    This helps if your folder has files, but doesn't help if your folders are empty.

提交回复
热议问题