Skip to content

Accessing build configuration such as Debug, Development and Release in scirpts in project.json #1621

Closed
@mbharodia

Description

@mbharodia

Hello,

Ref: project.json file

I want to access type of configuration such as Debug, Development etc. in "scripts". Is it possible. Presently there are only a few options available and they all are related with project properties such as name, version etc. I want to do something like the following where I am passing a configuration type to a batch file

"scripts":{
"postcompile":["myBatch.bat %configuration%"]
}

Really appreciate any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions