C # deploy: install additional file in installation directory

How to install an additional file, for example, an excel shortcut or a web page in the installation directory, so that my executable can access this file? please, help

+3
source share
2 answers

In Solution Explorer, right-click the file and go to properties. Set "Copy to output directory" to "Copy if new." You may also need to set the "Build action" to the "Embedded resource" if it was not already.

+1
source

.
"content".
"copy to output directory" "copy always".
, . , \bin\release \bin\debug. , " " , .

+2

All Articles