David Richardson

David Richardson

  • NA
  • 24
  • 18.5k

Packaging Files With C# Published Project

Mar 19 2011 12:56 AM
Throughout the development stages of this project I am working on I have been using images in /sources/*.png, that I have referenced with an OpenFileDialog() and the directory being set with Environment.CurrentDirectory, I am working on publishing this so that it can be distributed by CD, now I know that when installed on CD the path will not be the same as it is currently (for the executable),

That probably didn't make a whole lot of sense, :(, but essentially...

Is there a way that I can package this directory with 4 or 5 images in it, so when the program installs the files will be in the  /sources directory, relative to where the program is?


Answers (7)