Asp .Net Core Project.json File Asp .Net Core Project.json File json json

Asp .Net Core Project.json File


Full list of context variables that you can use to control flow in your scripts is:

Every script block:

%project:Directory%%project:Name%%project:Version%

Compile specific:

%compile:TargetFramework%%compile:FullTargetFramework%%compile:Configuration%%compile:OutputFile%%compile:OutputDir%%compile:ResponseFile%%compile:RuntimeOutputDir% (only available if there is runtime output)%compile:RuntimeIdentifier% (only availabe if there is runtime output)%comiple:CompilerExitCode% (only available in the postcompile script block)

Publish specific:

%publish:ProjectPath%%publish:Configuration%%publish:OutputPath%%publish:TargetFramework%%publish:FullTargetFramework%%publish:Runtime%

References:

https://github.com/aspnet/Home/wiki/Project.json-file#scripts

Post build event depending on configuration name in new ASP.NET 5 project