/src/AddIns/Misc/PackageManagement/RequiredLibraries/NuGet.Cmdlets.dll-Help.xml
https://github.com/ajadex/SharpDevelop · XML · 1112 lines · 1032 code · 50 blank · 30 comment · 0 complexity · 090b63081db9fe28f19448c0bbcc6ea0 MD5 · raw file
- <?xml version="1.0" encoding="utf-8" ?>
- <helpItems schema="maml">
- <!-- Install-Package command -->
- <command:command
- xmlns:maml="http://schemas.microsoft.com/maml/2004/10"
- xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10"
- xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
- <command:details>
- <command:name>
- Install-Package
- </command:name>
- <maml:description>
- <maml:para>Installs a package.</maml:para>
- </maml:description>
- <command:verb>Install</command:verb>
- <command:noun>Package</command:noun>
- <dev:version></dev:version>
- </command:details>
- <maml:description>
- <maml:para>Installs a package and its dependencies into the project.</maml:para>
- </maml:description>
- <!-- Cmdlet syntax section-->
- <command:syntax>
- <command:syntaxItem>
- <maml:name>Install-Package</maml:name>
- <command:parameter required="true" position="1">
- <maml:name>Id</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IgnoreDependencies</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ProjectName</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="2">
- <maml:name>Version</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="3">
- <maml:name>Source</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IncludePrerelease</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>FileConflictAction</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>DependencyVersion</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>WhatIf</maml:name>
- </command:parameter>
- </command:syntaxItem>
- </command:syntax>
- <!-- Cmdlet parameter section -->
- <command:parameters>
- <command:parameter required="true" position="1">
- <maml:name>Id</maml:name>
- <maml:description>
- <maml:para>Specifies the package ID of the package to install.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- <dev:defaultValue></dev:defaultValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IgnoreDependencies</maml:name>
- <maml:description>
- <maml:para>Installs only this package and not its dependencies.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ProjectName</maml:name>
- <maml:description>
- <maml:para>Specifies the project to install the package into. If ommitted, the default project is chosen.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Source</maml:name>
- <maml:description>
- <maml:para>Specifies the URL or directory path for the package source containing the package to install. When set to a local file system path, Source can be either absolute or relative to the current directory. If omitted, looks in the currently selected package source to find the corresponding package URL.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Version</maml:name>
- <maml:description>
- <maml:para>Specifies the version of the package to install. If omitted, defaults to the latest version.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IncludePrerelease</maml:name>
- <maml:description>
- <maml:para>Indicates whether this command will consider prerelease packages. If omitted, only stable packages are considered.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>FileConflictAction</maml:name>
- <maml:description>
- <maml:para>Indicates what this command should do if a file from the package's content folder already exists in the project.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>DependencyVersion</maml:name>
- <maml:description>
- <maml:para>Specifies which dependency package version to install. If omitted, this defaults to the lowest required version.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>WhatIf</maml:name>
- <maml:description>
- <maml:para>Displays the actions that would be taken and the effect of the command, instead of executing the command.</maml:para>
- </maml:description>
- </command:parameter>
- </command:parameters>
- <!-- Examples section -->
- <command:examples>
- <command:example>
- <maml:title>---------- EXAMPLE 1 ----------</maml:title>
- <dev:code>PM> Install-Package Elmah</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Installs the latest version of the Elmah package from the current
- package source into the default project.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 2 ----------</maml:title>
- <dev:code>PM> Install-Package Glimpse -Version 1.0.0 -Project MvcApplication1 </dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Installs version 1.0.0 of Glimpse into the project named MvcApplication1
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 3 ----------</maml:title>
- <dev:code>PM> Install-Package Ninject.Mvc3 -IgnoreDependencies -Source c:\temp\packages </dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Installs the package, Ninject.Mvc3, but not its dependencies. It looks in the directory,
- c:\temp\packages to find the package.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- </command:examples>
- <!-- Link section -->
- <maml:relatedLinks>
- <maml:navigationLink>
- <maml:linkText>Online version:</maml:linkText>
- <maml:uri>http://docs.nuget.org/</maml:uri>
- </maml:navigationLink>
- <maml:navigationLink>
- <maml:linkText>Install-Package</maml:linkText>
- <maml:uri/>
- </maml:navigationLink>
- </maml:relatedLinks>
- </command:command>
- <!-- Get-Package command -->
- <command:command
- xmlns:maml="http://schemas.microsoft.com/maml/2004/10"
- xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10"
- xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
- <command:details>
- <command:name>
- Get-Package
- </command:name>
- <maml:description>
- <maml:para>Gets the set of installed packages. Use the -ListAvailable flag to list packages available from the package source.</maml:para>
- </maml:description>
- <command:verb>Get</command:verb>
- <command:noun>Package</command:noun>
- <dev:version></dev:version>
- </command:details>
- <maml:description>
- <maml:para>Gets the set of installed packages. Use the -ListAvailable flag to list packages available from the package source.</maml:para>
- </maml:description>
- <!-- Cmdlet syntax section-->
- <command:syntax>
- <command:syntaxItem>
- <maml:name>Get-Package</maml:name>
- <command:parameter required="true" position="named">
- <maml:name>Source</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ListAvailable</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Updates</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ProjectName</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Filter</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>First</maml:name>
- <command:parameterValue required="true">int</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Skip</maml:name>
- <command:parameterValue required="true">int</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>AllVersions</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IncludePrerelease</maml:name>
- </command:parameter>
- </command:syntaxItem>
- </command:syntax>
- <!-- Cmdlet parameter section -->
- <command:parameters>
- <command:parameter required="false" position="named">
- <maml:name>Source</maml:name>
- <maml:description>
- <maml:para>Specifies the URL or directory path for the package source containing the package to install. When set to a local file system path, Source can be either absolute or relative to the current directory. If omitted, looks in the currently selected package source to find the corresponding package URL.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ListAvailable</maml:name>
- <maml:description>
- <maml:para>Gets packages available from the online package source.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false">
- <maml:name>ProjectName</maml:name>
- <maml:description>
- <maml:para>Specifies the project to get installed packages from. If ommitted, the command will return installed projects for the entire solution.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Updates</maml:name>
- <maml:description>
- <maml:para>Gets packages that have an update available from the package source.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Filter</maml:name>
- <maml:description>
- <maml:para>Specifies a filter string used to narrow down the list of packages returned. The filter is searched for in the package Id, the description and tags.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>First</maml:name>
- <maml:description>
- <maml:para>Specifies the number of packages to return from the beginning of the list.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Skip</maml:name>
- <maml:description>
- <maml:para>Skips (does not return) the specified number of packages, counting from the beginning of the list.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>AllVersions</maml:name>
- <maml:description>
- <maml:para>Displays all available versions of a package. The latest version of each package is listed by default. </maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IncludePrerelease</maml:name>
- <maml:description>
- <maml:para>Indicates whether to include prerelease packages in the returned results.</maml:para>
- </maml:description>
- </command:parameter>
- </command:parameters>
- <!-- Examples section -->
- <command:examples>
- <command:example>
- <maml:title>---------- EXAMPLE 1 ----------</maml:title>
- <dev:code>PM> Get-Package</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Returns packages installed in the current solution.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 2 ----------</maml:title>
- <dev:code>PM> Get-Package -ProjectName MyProject</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Returns packages installed in the "MyProject" project.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 3 ----------</maml:title>
- <dev:code>PM> Get-Package -ListAvailable</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Returns a list of packages available online in the current package source.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 4 ----------</maml:title>
- <dev:code>PM> Get-Package -ListAvailable -Filter Ninject</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Returns a list of packages available online using "Ninject" as a search term.
- </maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 5 ----------</maml:title>
- <dev:code>PS> Get-Package -Updates</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Returns a list of packages installed in the default project that have updates available in the current package source.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- </command:examples>
- <!-- Link section -->
- <maml:relatedLinks>
- <maml:navigationLink>
- <maml:linkText>Online version:</maml:linkText>
- <maml:uri>http://docs.nuget.org/</maml:uri>
- </maml:navigationLink>
- <maml:navigationLink>
- <maml:linkText>Get-Package</maml:linkText>
- <maml:uri/>
- </maml:navigationLink>
- </maml:relatedLinks>
- </command:command>
- <!-- Uninstall-Package command -->
- <command:command
- xmlns:maml="http://schemas.microsoft.com/maml/2004/10"
- xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10"
- xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
- <command:details>
- <command:name>
- Uninstall-Package
- </command:name>
- <maml:description>
- <maml:para>Uninstalls a package.</maml:para>
- </maml:description>
- <command:verb>Uninstall</command:verb>
- <command:noun>Package</command:noun>
- <dev:version></dev:version>
- </command:details>
- <maml:description>
- <maml:para>Uninstalls a package. If other packages depend on this package, the command will fail unless the –Force option is specified.</maml:para>
- </maml:description>
- <!-- Cmdlet syntax section-->
- <command:syntax>
- <command:syntaxItem>
- <maml:name>Uninstall-Package</maml:name>
- <command:parameter required="true" position="1">
- <maml:name>Id</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>RemoveDependencies</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ProjectName</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Force</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Version</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>WhatIf</maml:name>
- </command:parameter>
- </command:syntaxItem>
- </command:syntax>
- <!-- Cmdlet parameter section -->
- <command:parameters>
- <command:parameter required="true" position="1">
- <maml:name>Id</maml:name>
- <maml:description>
- <maml:para>Specifies the package ID of the package to uninstall.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- <dev:defaultValue></dev:defaultValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>RemoveDependencies</maml:name>
- <maml:description>
- <maml:para>Uninstalls the package and its unused dependencies.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ProjectName</maml:name>
- <maml:description>
- <maml:para>Specifies the project to uninstall the package from. If ommitted, the default project is chosen.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Force</maml:name>
- <maml:description>
- <maml:para>Forces an uninstall of the package even if another package depends on it.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Version</maml:name>
- <maml:description>
- <maml:para>The version of the package to uninstall. If omitted, defaults to the latest version.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>WhatIf</maml:name>
- <maml:description>
- <maml:para>Displays the actions that would be taken and the effect of the command, instead of executing the command.</maml:para>
- </maml:description>
- </command:parameter>
- </command:parameters>
- <command:examples>
- <command:example>
- <maml:title>---------- EXAMPLE 1 ----------</maml:title>
- <dev:code>PM> Uninstall-Package Elmah</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Uninstalls the Elmah package from the default project.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 2 ----------</maml:title>
- <dev:code>PM> Uninstall-Package Elmah -RemoveDependencies</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Uninstalls the Elmah package as well as all its dependencies. If any dependency has another package that depends on it,
- it is skipped.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 3 ----------</maml:title>
- <dev:code>PM> Uninstall-Package Elmah -Force</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Uninstalls the Elmah package even if another package depends on it.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- </command:examples>
- <!-- Link section -->
- <maml:relatedLinks>
- <maml:navigationLink>
- <maml:linkText>Online version:</maml:linkText>
- <maml:uri>http://docs.nuget.org/</maml:uri>
- </maml:navigationLink>
- <maml:navigationLink>
- <maml:linkText>Uninstall-Package</maml:linkText>
- <maml:uri/>
- </maml:navigationLink>
- </maml:relatedLinks>
- </command:command>
- <!-- Update-Package command -->
- <command:command
- xmlns:maml="http://schemas.microsoft.com/maml/2004/10"
- xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10"
- xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
- <command:details>
- <command:name>
- Update-Package
- </command:name>
- <maml:description>
- <maml:para>Updates a package.</maml:para>
- </maml:description>
- <command:verb>Update</command:verb>
- <command:noun>Package</command:noun>
- <dev:version></dev:version>
- </command:details>
- <maml:description>
- <maml:para>Updates a package and its dependencies to a newer version.</maml:para>
- </maml:description>
- <!-- Cmdlet syntax section-->
- <command:syntax>
- <command:syntaxItem>
- <maml:name>Update-Package</maml:name>
- <command:parameter required="true" position="1">
- <maml:name>Id</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IgnoreDependencies</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ProjectName</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Version</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Safe</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Source</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IncludePrerelease</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Reinstall</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>FileConflictAction</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>WhatIf</maml:name>
- </command:parameter>
- </command:syntaxItem>
- </command:syntax>
- <!-- Cmdlet parameter section -->
- <command:parameters>
- <command:parameter required="true" position="1">
- <maml:name>Id</maml:name>
- <maml:description>
- <maml:para>Specifies the package ID of the package to update. If omitted, every package is updated.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- <dev:defaultValue></dev:defaultValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IgnoreDependencies</maml:name>
- <maml:description>
- <maml:para>Updates all of the package’s dependencies to the latest version. False by default.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ProjectName</maml:name>
- <maml:description>
- <maml:para>Specifies the project containing the project to update. If ommitted, the package is updated in every project with the package installed.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Safe</maml:name>
- <maml:description>
- <maml:para>Constrains upgrades to newer versions with the same Major and Minor version component. For example, if version 1.0.0 of a package is installed, and versions 1.0.1, 1.0.2, and 1.1 are available in the feed, the -Safe flag updates the package to 1.0.2.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Source</maml:name>
- <maml:description>
- <maml:para>Specifies the URL or directory path for the package source containing the package to update. When set to a local file system path, Source can be either absolute or relative to the current directory. If omitted, looks in the currently selected package source to find the corresponding package URL.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Version</maml:name>
- <maml:description>
- <maml:para>Specifies the version that the package will be upgraded to. If omitted, defaults to the latest version.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>IncludePrerelease</maml:name>
- <maml:description>
- <maml:para>Indicates whether to include prereleases when searching for updates. If omitted, only stable packages are considered.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Reinstall</maml:name>
- <maml:description>
- <maml:para>Reinstall packages with the existing versions.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>FileConflictAction</maml:name>
- <maml:description>
- <maml:para>Indicates what this command should do if a file from the package's content folder already exists in the project.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>WhatIf</maml:name>
- <maml:description>
- <maml:para>Displays the actions that would be taken and the effect of the command, instead of executing the command.</maml:para>
- </maml:description>
- </command:parameter>
- </command:parameters>
- <command:examples>
- <command:example>
- <maml:title>---------- EXAMPLE 1 ----------</maml:title>
- <dev:code>PM> Update-Package Elmah</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Updates the Elmah package installed in every project to the latest version.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 2 ----------</maml:title>
- <dev:code>PM> Update-Package Elmah -Version 1.1.0</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Updates the Elmah package to a specific version in every project.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 3 ----------</maml:title>
- <dev:code>PM> Update-Package</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Updates every package in every project.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 3 ----------</maml:title>
- <dev:code>PM> Update-Package -Safe -Project MvcApplication1</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Updates every package in the project, MvcApplication1, to the latest "safe" version. For example,
- if version 1.0.0 of a package is installed, and versions 1.0.1, 1.0.2, and 1.1 are
- available in the feed, the -Safe flag updates the package to 1.0.2.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- </command:examples>
- <!-- Link section -->
- <maml:relatedLinks>
- <maml:navigationLink>
- <maml:linkText>Online version:</maml:linkText>
- <maml:uri>http://docs.nuget.org/</maml:uri>
- </maml:navigationLink>
- <maml:navigationLink>
- <maml:linkText>Update-Package</maml:linkText>
- <maml:uri/>
- </maml:navigationLink>
- </maml:relatedLinks>
- </command:command>
- <!-- Add-BindingRedirect command -->
- <command:command
- xmlns:maml="http://schemas.microsoft.com/maml/2004/10"
- xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10"
- xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
- <command:details>
- <command:name>
- Add-BindingRedirect
- </command:name>
- <maml:description>
- <maml:para>Adds binding redirects to the config file.</maml:para>
- </maml:description>
- <command:verb>Add</command:verb>
- <command:noun>BindingRedirect</command:noun>
- <dev:version></dev:version>
- </command:details>
- <maml:description>
- <maml:para>
- Examines all assemblies within the output path for a project and adds binding redirects to the
- application (or web) configuration file where necessary. NOTE: As of NuGet 1.2, NuGet automatically
- runs this command when installing a package.
- </maml:para>
- </maml:description>
- <!-- Cmdlet syntax section-->
- <command:syntax>
- <command:syntaxItem>
- <maml:name>Add-BindingRedirect</maml:name>
- <command:parameter required="true" position="1">
- <maml:name>ProjectName</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- </command:syntaxItem>
- </command:syntax>
- <!-- Cmdlet parameter section -->
- <command:parameters>
- <command:parameter required="true" position="1">
- <maml:name>ProjectName</maml:name>
- <maml:description>
- <maml:para>Specifies the project to analyze and add binding redirects to.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- </command:parameters>
- <command:examples>
- <command:example>
- <maml:title>---------- EXAMPLE 1 ----------</maml:title>
- <dev:code>PM> Add-BindingRedirect MyProjectName</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Adds binding redirects to the specified project, MyProjectName.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- </command:examples>
- <!-- Link section -->
- <maml:relatedLinks>
- <maml:navigationLink>
- <maml:linkText>Online version:</maml:linkText>
- <maml:uri>http://docs.nuget.org/</maml:uri>
- </maml:navigationLink>
- <maml:navigationLink>
- <maml:linkText>Add-BindingRedirect</maml:linkText>
- <maml:uri/>
- </maml:navigationLink>
- </maml:relatedLinks>
- </command:command>
- <!-- Get-Project -->
- <command:command
- xmlns:maml="http://schemas.microsoft.com/maml/2004/10"
- xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10"
- xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
- <command:details>
- <command:name>
- Get-Project
- </command:name>
- <maml:description>
- <maml:para>Gets the specified project. If none is specified, returns the default project.</maml:para>
- </maml:description>
- <command:verb>Get</command:verb>
- <command:noun>Project</command:noun>
- <dev:version></dev:version>
- </command:details>
- <maml:description>
- <maml:para>Returns a reference to the DTE (Development Tools Environment) for the specified project. If none is specifed, returns the default project selected in the Package Manager Console.</maml:para>
- </maml:description>
- <!-- Cmdlet syntax section-->
- <command:syntax>
- <command:syntaxItem>
- <maml:name>Get-Project</maml:name>
- <command:parameter required="false" position="1">
- <maml:name>Name</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>All</maml:name>
- </command:parameter>
- </command:syntaxItem>
- </command:syntax>
- <!-- Cmdlet parameter section -->
- <command:parameters>
- <command:parameter required="false" position="1">
- <maml:name>Name</maml:name>
- <maml:description>
- <maml:para>Specifies the project to return. If ommitted, the default project selected in the Package Manager Console is returned.</maml:para>
- </maml:description>
- <command:parameterValue required="true">
- string
- </command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>All</maml:name>
- <maml:description>
- <maml:para>Returns every project in the solution.</maml:para>
- </maml:description>
- </command:parameter>
- </command:parameters>
- <command:examples>
- <command:example>
- <maml:title>---------- EXAMPLE 1 ----------</maml:title>
- <dev:code>PM> Get-Project</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Returns a reference to the default project.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 2 ----------</maml:title>
- <dev:code>PM> Get-Project MyProjectName</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Returns a reference to the specifed project, MyProjectName.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 3 ----------</maml:title>
- <dev:code>PM> Get-Project -All</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Returns a reference to every project in the solution.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- </command:examples>
- <!-- Link section -->
- <maml:relatedLinks>
- <maml:navigationLink>
- <maml:linkText>Online version:</maml:linkText>
- <maml:uri>http://docs.nuget.org/</maml:uri>
- </maml:navigationLink>
- <maml:navigationLink>
- <maml:linkText>Get-Project</maml:linkText>
- <maml:uri/>
- </maml:navigationLink>
- </maml:relatedLinks>
- </command:command>
- <!-- Open-PackagePage -->
- <command:command
- xmlns:maml="http://schemas.microsoft.com/maml/2004/10"
- xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10"
- xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
- <command:details>
- <command:name>
- Open-PackagePage
- </command:name>
- <maml:description>
- <maml:para>
- Open the browser pointing to ProjectUrl, LicenseUrl or ReportAbuseUrl of the specified package.
- </maml:para>
- </maml:description>
- <command:verb>Open</command:verb>
- <command:noun>PackagePage</command:noun>
- <dev:version></dev:version>
- </command:details>
- <maml:description>
- <maml:para>
- Open the browser pointing to ProjectUrl, LicenseUrl or ReportAbuseUrl of the specified package.
- </maml:para>
- </maml:description>
- <!-- Cmdlet syntax section-->
- <command:syntax>
- <command:syntaxItem>
- <maml:name>Open-PackagePage</maml:name>
- <command:parameter required="true" position="named">
- <maml:name>Id</maml:name>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Version</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Source</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>License</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ReportAbuse</maml:name>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>PassThru</maml:name>
- </command:parameter>
- </command:syntaxItem>
- </command:syntax>
- <!-- Cmdlet parameter section -->
- <command:parameters>
- <command:parameter required="false" position="named">
- <maml:name>Id</maml:name>
- <maml:description>
- <maml:para>Specifies the Id of the package to search for.</maml:para>
- </maml:description>
- <command:parameterValue required="true">string</command:parameterValue>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Version</maml:name>
- <maml:description>
- <maml:para>Specifies the version of the package to search for. If omitted, defaults to the latest version.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>Source</maml:name>
- <maml:description>
- <maml:para>Specifies the source of the repository to search for package. If omitted, defaults to the selected source in the package source dropdown control.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>License</maml:name>
- <maml:description>
- <maml:para>Indicates the cmdlet should open the LicenseUrl of the specified package. If neither LicenseUrl nor ReportAbuseUrl is set, the cmdlet will open the ProjectUrl by default.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>ReportAbuse</maml:name>
- <maml:description>
- <maml:para>Indicates the cmdlet should open the ReportAbuseUrl of the specified package. If neither LicenseUrl nor ReportAbuseUrl is set, the cmdlet will open the ProjectUrl by default.</maml:para>
- </maml:description>
- </command:parameter>
- <command:parameter required="false" position="named">
- <maml:name>PassThru</maml:name>
- <maml:description>
- <maml:para>If specified, the cmdlet will return the value of the requested URL.</maml:para>
- </maml:description>
- </command:parameter>
- </command:parameters>
- <command:examples>
- <command:example>
- <maml:title>---------- EXAMPLE 1 ----------</maml:title>
- <dev:code>PM> Open-PackagePage Ninject</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Opens a browser to the project URL specified in the Ninject package.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 2 ----------</maml:title>
- <dev:code>PM> Open-PackagePage Ninject -License</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Opens a browser to the license URL specified in the Ninject package.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 3 ----------</maml:title>
- <dev:code>PM> Open-PackagePage Ninject -ReportAbuse</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Opens a browser to the URL at the current package source used to report abuse for the specified package.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- <command:example>
- <maml:title>---------- EXAMPLE 4 ----------</maml:title>
- <dev:code>PM> $url = Open-PackagePage Ninject -License -WhatIf -PassThru</dev:code>
- <dev:remarks>
- <maml:para>
- Description
- ------------------------------------------------------------------
- Assigns the license URL to the variable, $url, without opening the URL in a browser.
- </maml:para>
- <maml:para></maml:para>
- <maml:para></maml:para>
- </dev:remarks>
- </command:example>
- </command:examples>
- <!-- Link section -->
- <maml:relatedLinks>
- <maml:navigationLink>
- <maml:linkText>Online version:</maml:linkText>
- <maml:uri>http://docs.nuget.org/</maml:uri>
- </maml:navigationLink>
- <maml:navigationLink>
- <maml:linkText>Open-PackagePage</maml:linkText>
- <maml:uri/>
- </maml:navigationLink>
- </maml:relatedLinks>
- </command:command>
- </helpItems>