I am facing a problem when running .net app on Azure. When using CreateDirectory method, it throws FileNotFoundException with the message of "Could not find file 'D:\home\site\wwwroot\CVs'.".
The app worked without any exception when running locally and on a private server. Any idea what could be the problem?
Directory.CreateDirectory(Path.Combine(Directory.GetCurrentDirectory(), "CVs"));