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:
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.”.