.NET Core include folder in publish

后端 未结 4 870
时光说笑
时光说笑 2020-12-14 00:44

I have the following folder structure for my .NET Core 2.1 project:

How can I include folder AppData and all of its subfolders and files when I

4条回答
  •  一整个雨季
    2020-12-14 01:12

    None of the above solutions worked for me. So, I took the same approach taken in "React project template" and I added this code to my .csproj file:

      
        
          
          
            %(DistFiles.Identity)
            PreserveNewest
            true
          
        
      
    

提交回复
热议问题