1

I am making a project that will be put on a disc to use. This means that all of the files that I call upon have to be on that disc. How and where do I put my files to ensure that they will stay with the project? Does it go in the bin folder? And when I am calling on that file what file path do I use?

1

1 Answer 1

0

In general, the bin folder is not a place you should be storing anything that you want to persist with the project.

When you build, Visual Studio will copy the files needed to run the program into the bin folder, such as libraries and web.config or app.config files.

For other files you want included, add them to your project and set their build action property to Content:

Content - The file is not compiled, but is included in the Content output group. For example, this setting is the default value for an .htm or other kind of Web file.

Not the answer you're looking for? Browse other questions tagged or ask your own question.