Copy files to output directory using csproj dotnetcore

前端 未结 7 1703
猫巷女王i
猫巷女王i 2020-11-29 20:54

So my issue is pretty simple. I have some files that I want to be copied to the build output directory whether it is a debug build or a release publish. All of the informati

7条回答
  •  遥遥无期
    2020-11-29 21:22

    Place this in your .csproj file replacing nlog.config with the desired filepath. Then simply save it and build your project:

    
      
        Always
      
    
    

提交回复
热议问题