rekna
rekna

Reputation: 5333

Nuget package manager console

can I get the name of the active configuration in a powershell variable inside nuget powershell console ? I know there is a $DTE, but I don't know how to get to the active configuration name ...

Upvotes: 2

Views: 571

Answers (1)

Keith Hill
Keith Hill

Reputation: 201992

You can get the active configuration like so:

$dte.solution.solutionbuild.activeconfiguration

Upvotes: 3

Related Questions