Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
1.8
-
None
-
None
Description
Environment:
- Windows7
- VS 2015
- NuGet Package Manager 3.4.4
- Powershell version
PS C:\Users\San> $PSVersionTable.PSVersion Major Minor Build Revision ----- ----- ----- -------- 2 0 -1 -1
While installing/uninstalling Apache.Ignite package the following exception occurs
PM> Install-Package Apache.Ignite -Source https://www.myget.org/F/apache-ignite-staging/api/v2 -Version 1.8.1 Attempting to gather dependency information for package 'Apache.Ignite.1.8.1' with respect to project 'WebApplication1', targeting '.NETFramework,Version=v4.5.2' Attempting to resolve dependencies for package 'Apache.Ignite.1.8.1' with DependencyBehavior 'Lowest' Resolving actions to install package 'Apache.Ignite.1.8.1' Resolved actions to install package 'Apache.Ignite.1.8.1' Adding package 'Apache.Ignite.1.8.1' to folder 'D:\Work_Ksu\Platform_tests\WebApplication1\packages' Added package 'Apache.Ignite.1.8.1' to folder 'D:\Work_Ksu\Platform_tests\WebApplication1\packages' Added package 'Apache.Ignite.1.8.1' to 'packages.config' Executing script file 'D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Install.ps1' Updating project properties... Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the "Name" value of type "System.String" to type "System.Management.Automation.Scr iptBlock". At D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Install.ps1:33 char:37 + $binDir = ($_.Properties | Where <<<< Name -match OutputPath).Value + CategoryInfo : InvalidArgument: (:) [Where-Object], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.WhereObjectCommand Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the "Name" value of type "System.String" to type "System.Management.Automation.Scr iptBlock". At D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Install.ps1:33 char:37 + $binDir = ($_.Properties | Where <<<< Name -match OutputPath).Value + CategoryInfo : InvalidArgument: (:) [Where-Object], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.WhereObjectCommand Welcome to Apache Ignite.NET! Successfully installed 'Apache.Ignite 1.8.1' to WebApplication1 PM> PM> Uninstall-Package Apache.Ignite Attempting to gather dependency information for package 'Apache.Ignite.1.8.1' with respect to project 'WebApplication1', targeting '.NETFramework,Version=v4.5.2' Resolving actions to uninstall package 'Apache.Ignite.1.8.1' Resolved actions to uninstall package 'Apache.Ignite.1.8.1' Executing script file 'D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Uninstall.ps1' Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the "Name" value of type "System.String" to type "System.Management.Automation.Scr iptBlock". At D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Uninstall.ps1:29 char:37 + $binDir = ($_.Properties | Where <<<< Name -match OutputPath).Value + CategoryInfo : InvalidArgument: (:) [Where-Object], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.WhereObjectCommand Where-Object : Cannot bind parameter 'FilterScript'. Cannot convert the "Name" value of type "System.String" to type "System.Management.Automation.Scr iptBlock". At D:\Work_Ksu\Platform_tests\WebApplication1\packages\Apache.Ignite.1.8.1\tools\Uninstall.ps1:29 char:37 + $binDir = ($_.Properties | Where <<<< Name -match OutputPath).Value + CategoryInfo : InvalidArgument: (:) [Where-Object], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.WhereObjectCommand Removed package 'Apache.Ignite.1.8.1' from 'packages.config' Successfully uninstalled 'Apache.Ignite.1.8.1' from WebApplication1 Removing package 'Apache.Ignite.1.8.1' from folder 'D:\Work_Ksu\Platform_tests\WebApplication1\packages' Removed package 'Apache.Ignite.1.8.1' from folder 'D:\Work_Ksu\Platform_tests\WebApplication1\packages' PM>