My brain isn’t working today. How do I *properly* add a .csv to a project in VS Community 2017?

The .csv is located in <project>/datafiles/file.csv (where <project> is the base directory containing the .sln).

While we’re at it, what’s the “right” way to get the path to that file in its current location, assuming I’ll be running the code in debug mode?

I swear I’ve done all this before but can’t for the life of me remember how.

submitted by /u/Occulus1975
[link] [comments]

Leave a Reply