I have recently created a new c# project which involves some file reading and file writing. However there is one issue:
The project sees the bin/debug/ folder as it's root path apparently. My idea was to put a Files folder in the root of my project and then call it like:
File.ReadAllBytes("Files/filename");
However since it apparently sees the bin/debug/ folder as it's root path i have to call it like:
File.ReadAllByted("../../Files/filename");
which is pretty ugly. Does anyone know a solution to this problem? I have been unable to find one yet.
Thank you in advance and kind regards!