Difference between Build action content and 'Copy to output directory' in Visual Studio

前端 未结 3 1599
时光取名叫无心
时光取名叫无心 2020-12-15 03:28

In my project in Visual Studio, I have files that I want included in the output, but not compiled or embedded.

I am aware that there are 2 ways to accomplish this.

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-15 03:49

    Copy Always will also trigger a rebuild of that project in a solution even if no code has changed.

提交回复
热议问题