PrePackage step will be skipped since the Invoke PowerShell switch was set to False.

Feb 27, 2014 at 2:57 PM
Edited Feb 27, 2014 at 4:44 PM
I am getting this error in my build log despite Invoke PowerShell Script being set to True.

Image

But the log reports:

00:00
SummarizeProperties
Initial Property Values
AdditionalOptions =
ApiKey = 01234567-89ab-cdef-0123-456789abcdef
BasePath =
NuGetExeFilePath = $/XXX/Main/DotNet Fabric/.nuget/NuGet.exe
NuSpecFilePath = D:\Build\XXX\Main - Release\343\Sources\Fabric.Core\Release\FabricCore.2.0.nuspec
OutputDirectory = NuGetPackage
PowerShellScriptPath = $/XXX/BuildProcessTemplates/FabricCorePrePackaging.ps1
PushDestination = http://nuget/ SwitchInvokePowerShell = False SwitchInvokePush = False Version = 2.0.14058.5
PrePackage step will be skipped since the Invoke PowerShell switch was set to False.

Is there another setting I'm missing?