i tried to create access to file that loacated in main project folder, but i get error that says the file not found in another folder in project System.IO.FileNotFoundException: Could not find file ,this is thepath which trying to find the file
C:\Users\User\source\repos\AutomationAssignment\AutomationAssignment\bin\Debug\netcoreapp3.1\DataEX.xlsx'
This is the path that i want to use
C:\Users\User\source\repos\AutomationAssignment\AutomationAssignment\DataEX.xlsx'
static string path = Path.Combine("DataEX.xlsx");
XSSFWorkbook workbook = new XSSFWorkbook(File.Open(path, FileMode.Open));
string url = System.IO.File.ReadAllText("Url.txt");