I had to set $env:EnablNugetPackageRestore=$trueto run the psake install task.
C:\Users\Andy.Schneider\documents\GitHub\scriptcs-powershell-module\src.nuget\nuget.targets(89,9): error : Package r
estore is disabled by default. To give consent, open the Visual Studio Options dialog, click on Package Manager node an
d check 'Allow NuGet to download missing packages during build.' You can also give consent by setting the environment v
ariable 'EnableNuGetPackageRestore' to 'true'. [C:\Users\Andy.Schneider\documents\GitHub\scriptcs-powershell-module\src
\CodeOwls.PowerShell.ScriptCS\CodeOwls.PowerShell.ScriptCS.csproj]
I had to set $env:EnablNugetPackageRestore=$trueto run the psake install task.
C:\Users\Andy.Schneider\documents\GitHub\scriptcs-powershell-module\src.nuget\nuget.targets(89,9): error : Package r estore is disabled by default. To give consent, open the Visual Studio Options dialog, click on Package Manager node an d check 'Allow NuGet to download missing packages during build.' You can also give consent by setting the environment v ariable 'EnableNuGetPackageRestore' to 'true'. [C:\Users\Andy.Schneider\documents\GitHub\scriptcs-powershell-module\src \CodeOwls.PowerShell.ScriptCS\CodeOwls.PowerShell.ScriptCS.csproj]