What is the best way to pass variables from Visual studio build definition to powershell running in post build section
What is the best way to pass variables from Visual studio build definition to powershell running in post build section.
I have a build running in visual studio 2013. I have in the post build section running a powershell script and i want it to be able to see the drop location also maybe even the bin directory. Since each build creates a new dynamic directory how does that variable that is used in the build get exposed to powershell post build/ compile?
Powershell
Last Comment
josephh610
8/22/2022 - Mon
Qlemo
There are a lot of predefined variables you can provide as argument - did you take a look thru the drop-down list? You can use the vars as positional or named parameters, Whatever you prefer, in PowerShell.