I have to integrate a third-party command-line tool within existing azure functions. I saw a couple of questions (like this one) and blogs with example how can we call exe from azure functions by uploading exe file from the azure portal and execute from code.
Is uploading from portal is the only way of uploading exe? Problem with this approach is that I need manually upload the file after every time I deploy code from visual studio because all files are beeing removed. Is there any way I can simply keep it unchanged or make it part of my project so the exe and its dependency files (not assemblies but internal files it references) or is there a way I can automate this to copy/upload to azure functions.
I am using App Service plan instead of consumption plan which I understand has some flexibility and control over the host.