-
-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
Milestone
Description
Hi guys,
It seems that feature introduced here
Add command to create anti-package #337
is not working. Or I am using it in wrong way.
When I try to create anti-package using PS Toolbox following errors appears:
http://pastebin.com/gACUAHDN
As a package I selected PS 3.2 release package.
Below my host info
PS master:\>Get-Host
Name : Sitecore PowerShell Extensions Host 3.2.0.20133 on Windows PowerShell 3.0 & Sitecore 8.0
Version : 3.2.0.20133
InstanceId : c61d7889-faca-4b54-8363-f761c26c7acd
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : en-US
CurrentUICulture : en
PrivateData : Cognifide.PowerShell.Core.Host.ScriptingHostPrivateData
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
Additional info:
When I am trying to generate anti package using some package with package project, package is created, but I am still getting this error:
New-FileSource : Cannot bind argument to parameter 'Name' because it is an empty string.
At line:204 char:59
+ $package.Sources.Add(($files | New-FileSource @props))
+ ~~~~~~
+ CategoryInfo : InvalidData: (:) [New-FileSource], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Cognifide.PowerShell.Commandlets.P
ackages.NewFileSourceCommand
Do I need package project/solution in order to generate AntiPackage? I would expect that I can generate anti package without project, basing only on info that is inside package.