Is it possible to read File from same folder where Azure function exists
问题 In my Azure C# function I need to read a .txt file. I make the .txt file in Visual studio and set it to "copy Always". Now I am using this code to read the file var dir = System.IO.Path.GetDirectoryName( System.Reflection.Assembly.GetEntryAssembly().Location); var path = System.IO.Path.Combine(dir, "twinkle.txt"); this code doesn't work. When I open the folder which is the value of dir. It lead me to this directory ""C:\Users{username}\AppData\Local\Azure.Functions.Cli\1.0.9"" How I can store