Skip to content

Powershell Configuration

bclothier edited this page Jun 1, 2018 · 1 revision

ATTENTION: This is provided for historical information and for troubleshooting only. This should not be necessary in a normal build process

The easiest way to do this is to use Visual Studio's Package Manage Console, which is normally visible on the bottom or can be opened via Tools -> Nuget Package Manager -> Package Manage Console. This opens a powershell console in Visual Studio, matching the bitness. Run the command:

Set-ExecutionPolicy RemoteSigned

NOTE: There is a separate execution policy for 64-bit Powershell and 32-bit Powershell. You must match with the bitness of the devenv.exe which may be 32-bit and therefore set the execution policy in the 32-bit PowerShell. To avoid needing to guess which bitness, use Package Manager Console as suggested above.

Clone this wiki locally