Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set ASPNETCORE_ENVIRONMENT in VSTS/TFS releases?

How to set ASPNETCORE_ENVIRONMENT variable in VSO deploy template?

like image 515
Skorunka František Avatar asked Nov 09 '16 17:11

Skorunka František


1 Answers

It is just an environment variable, and the Variables in the TFS Scripted build/releases are set as environment variables.

You can set the from either the Variables tab in Build / Release when editing a definition:

enter image description here

or per Environment in a Release:

enter image description here

like image 154
DaveShaw Avatar answered Sep 30 '22 18:09

DaveShaw