Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Post-built powershell script does not seem to be executed

$
0
0

I have in my Post-build event command line this entry:

"C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" -file "$(SolutionDir)..\docs\create_api_documentation_post_build.ps1"

and this:

"C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Unrestricted -NoProfile -NonInteractive -NoLogo -file "$(SolutionDir)..\docs\create_api_documentation_post_build.ps1"

However, the 'things' that should happen when the script is run are not happening and so, I am thinking it did not run.

When I execute the the above command on the command line (cmd.exe), it works normally when I expand the $(SolutionDir) to the actual solution dir.

Anybody know why this might be so?

Thanks!

Eric





Viewing all articles
Browse latest Browse all 21115

Trending Articles