I'm trying to read from a text file that contains some data in my bot. I have the file in my Visual Studio solution and the bot is able to read the data fine when I am using the Emulator.
However, when I publish, it says that the file doesn't exist (IO.DirectoryNotFoundException) and gives this path as the path it's looking at (my file is in the Data\Holidays folder in Visual Studio):
D:\home\site\wwwroot\Data\Holidays\Holidays.txt
Is the path different when it's published? Do I have to upload the text file to Azure manually?
Thanks!