I have a json file I am trying to read via a StreamReader
. The json is in the same directory as my code. However, any method for loading the file (GetFullPath()
, GetDirectoryName()
, etc) is always looking in the \bin\Debug\netcoreapp3.1
directory, where it obviously is not. I have tried all the different versions
I think that has more to do with an issue with netcoreapp than anything else. How do I get it to just load the file in the same directory?