In Visual Studio, how can I set the Build Action for an entire folder?

前端 未结 5 676
野趣味
野趣味 2020-11-29 01:29

I have a project in Visual Studio. I need to deploy some 3rd party files along with my code. Typically I would put this files in a \"Resources\" directory and set the Buil

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-29 02:17

    If you happen to have the need to set the Build Action for an entire folder the best option is to just open the .csproj file and use a regex to replace all the occurences from

    to

    That worked just perfectly for me.

提交回复
热议问题