This article is a mirror article of machine translation, please click here to jump to the original article.

View: 21727|Reply: 0

[Source] NuGet console common commands

[Copy link]
Posted on 12/30/2016 11:11:52 AM | | |
nuget console commands


PM> get-help nuget
Topic
    about_NuGet
   
Short description
    Provides information about NuGet package manager commands.
           
Detailed description
    This topic describes NuGet package manager commands. NuGet is an integrated package
    Administrative tools for adding libraries and tools to your .NET project.

                 
    The following NuGet cmdlets are included.

        cmdlet description
        ------------------        
        ----------------------------------------------
        Get-Package to get the installed package. Using -ListAvailable,
                                Get the package that is available from the package source.

        Install-Package installs the package and its dependencies into the project.

        Uninstall-Package to uninstall the package. If other packages depend on this package,
This command will be invalid unless the –Force option is specified.

        Update-Package updates the package and its dependencies to a newer version.

        Add-BindingRedirect checks all assemblies in the project's output path
and add binding redirects to the application (or web) as needed
Configuration files.
                           
        Get-Project returns a reference to the DTE (Development Tools Environment) for the specified project
                                If not specified, return
                                The default project selected in the Package Manager console.

        Open-PackagePage opens a ProjectUrl, LicenseUrl, or ProjectUrl that points to the specified package
                                ReportAbuseUrl.

        Register-TabExpansion is a command argument that registers tab extensions.

See also
Online Documentation: http://go.microsoft.com/fwlink/?LinkID=206619
    Get-Package
    Install-Package
    Uninstall-Package
    Update-Package
    Add-BindingRedirect
    Get-Project
    Open-PackagePage
    Register-TabExpansion




Previous:【2017 Year of the Rooster Commemorative Coin Reservation Entrance of the Four Major Banks】
Next:cmd to copy everything under the folder
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com