简体   繁体   中英

Set the default option for 'Copy to Output Directory' to 'Copy Always'

I've just started a new project in and the new project is using a fair amount of images/text files.

The actual project is a simple installer but my requirements are too advanced for existing installers so I'm having to create my own.

My issue is that I'm having to go into the properties of each file I have added and change the 'Copy to Output Directory' from 'Never' to 'Copy Always' and as you can imagine this is taking a fair bit of time with around 50 files to add:

在此输入图像描述

Is it possible to set the 'Copy Always' as the default for adding new files to any project? If so, how?

I imagine that there is some registry tweak that can do this, but I haven't found anything.

I followed @Hans Passant's comment about selecting all files and setting them to 'Copy Always', as per se:

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM