How to pass ASPNETCORE_ENVIRONMENT variable to a gulp task in VSO build template -


i have build template in vso gulp task , executes perfectly. problem passing environment variable (set in build variables) not working me. try pass variable using argument: "--environment=%aspnetcore_environment%"

to work arguments inside gulp file i'm using "gutil = require('gulp-util')" , value surprisingly "%aspnetcore_environment%". idea?

the proper syntax "inject" variable in task "$(aspnetcore_environment)".

https://www.visualstudio.com/cs-cz/docs/build/define/variables


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -