Call powershell script in post-built with parameters

前端 未结 5 825
慢半拍i
慢半拍i 2021-01-05 07:33

I\'m trying to get Powershell to run my PS script in post built - but somehow it doesn\'t work like it\'s supposed to:

Following command in Post-Build:



        
5条回答
  •  滥情空心
    2021-01-05 08:16

    When you run you script directly, you probably use 32bit PowerShell and in your msbuild script 64bit or vice versa. Also have a look at Error msg: “No snap-ins have been registered for Windows PowerShell version 2.”.

提交回复
热议问题