i am currently referencing any files i use in my code from my Root Directory.
i would now like to move all my files to a folder relative to the project.
using (StreamReader stream = new StreamReader(@"c:\map.txt"))
I have created a directory in the project folder and updated the code to the following.
but i keep gettings exceptions thrown when trying to debug due to not being able to see the file path.
using (StreamReader stream = new StreamReader(@"maps\map.txt"))
is there something i should be doing to tell the IDE that these are relative to my project ?
i have looked at other code which appears to do this without any other steps that i can see.
do i need to 'set' a path in the project options ?