I'm building a class library which use a .dat
file, inside the library i made a folder App_Data
and put the .dat
file inside it, how can i have my library to use the .dat
file. How could it be included at the dll when build?
I already tried Path.GetFullPath
, and almost anything in Path, but all i get is the path to debug folder, and in that folder i dont even have the .dat
file which i expect to be included because the .dat
file is in the project.
I just want to use that .dat
file without hard coding its path, and it should still work when referenced.