Hello @cw ,
Welcome to Microsoft Q&A forum.
I think this is not possible.
Not sure what you need, but maybe as a workaround, is it possible for you to get the host environment variable first in launchSettings.json file and then combine them in the codes to get some/other variables?
Best Regards,
Tianyu
- If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.