Install-NugetPackageToCache

Installs a NuGet package to the Bob-Cache.

Syntax

Install-NugetPackageToCache [[-PackageId] <Object>] [[-Version] <Object>] [[-ProjectPath] <Object>] [<CommonParameters>]

Description

Installs the specified NuGet package to "${env:AppData}\Bob$PackageId if it's not yet installed there.

Parameters

-PackageId <Object>

The NuGet package id.

Position Required Default value Accept pipeline input Accept wildchard characters
1 false false false

-Version <Object>

The version of the package to install.

Position Required Default value Accept pipeline input Accept wildchard characters
2 false false false

-ProjectPath <Object>

The path to the project.

Position Required Default value Accept pipeline input Accept wildchard characters
3 false false false

Examples

-------------------------- EXAMPLE 1 --------------------------

Install-NugetPackageToCache  -PackageId Unic.Test -Version 3.2

results matching ""

    No results matching ""