Tag Archives: executable directory

Copy a directory hierarchy into the executable directory in C#

The example Copy files into the executable directory in C# explains how to make Visual Studio copy a file into the executable directory when it builds a project. That makes it easy for the executable to find the file when … Continue reading

Posted in files, miscellany, system | Tagged , , , , , , , , , , , , , , , | Leave a comment

Copy files into the executable directory in C#

Sometimes it’s handy to copy a file into the program’s executable directory. For example, it’s sometimes nice to copy a configuration file, database file, or other data file into the directory where the executable program is created. That way the … Continue reading

Posted in files | Tagged , , , , , , , , | 1 Comment