I'm writing a unified project for 3 smart TVs. I have also 3 configurations created in Visual Studio
. Now I want to execute some CLI
scripts depending on selected configuration.
The problem is in new ASP.NET 5
project I don't have an editor for post build events.
I know I have to do this in project.json
. What I found is:
"scripts": {
"postbuild": ""
}
But using this one I can't create different CLI
scripts for different configurations.
I found also:
"configurations": {
},
And I guess this is probably what I want, but... How to use it? Intellisense has no power here and also I wasn't lucky searching the Web...
[edit]
Maybe I should try with .xproj
?
ASPNET_ENV
environment variable? – Casas