Setting ASPNETCORE_ENVIRONMENT in IIS

Hi, how do I set this enviroment variable in a IIS Deploy?

Hi,

Thanks for reaching out! You should be able to set it using a post-deploy script in your IIS step (doc says its for “Package” steps, but It’ll also work on an IIS step).

Doc on setting persisting environment variables using powershell: https://technet.microsoft.com/en-us/library/ff730964.aspx

Best regards,
Dalmiro

Hi, I cannot found where to add a variable, I am using tenants but this variable should be by environment, where is the add button?

Never mind, i found it