-
-
Notifications
You must be signed in to change notification settings - Fork 7
Find NugetPackageInstallationFolder
Apostolis Bekiaris edited this page Apr 22, 2020
·
4 revisions
Finds the installation path of a nuget package out of a predefined set of directories.
Find-NugetPackageInstallationFolder [-Package] <String> [[-Version] <String>] [[-Locations] <String[]>]
[<CommonParameters>]
The lookup is done in "NuGetFallbackFolder","GlobalPackagesFolder","HttpCache","TempCache","PlugindCache" directories.
PS C:\> Find-NugetPackageInstallationFolder -Package Xpand.XAF.Modules.AutoCommit
C:\Users\Tolis\.nuget\packages
Returns the installation path of the Xpand.XAF.Modules.AutoCommit
package
{{ Fill Locations Description }}
Type: String[]
Parameter Sets: (All)
Aliases:
Accepted values: NuGetFallbackFolder, GlobalPackagesFolder, HttpCache, TempCache, PlugindCache
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Package Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Version Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.