NuGet命令

2018-01-14  本文已影响0人  Mrgz

http://www.nuget.org/packages

详细的可以在这里找到
https://docs.microsoft.com/en-us/nuget/tools/powershell-reference

列几个容易用到的
Install-Package [-Id] <string> [-IgnoreDependencies] [-ProjectName <string>] [[-Source] <string>]
[[-Version] <string>] [-IncludePrerelease] [-FileConflictAction] [-DependencyVersion]
[-WhatIf] [<CommonParameters>]

Update-Package [-Id] <string> [-IgnoreDependencies] [-ProjectName <string>] [-Version <string>]
[-Safe] [-Source <string>] [-IncludePrerelease] [-Reinstall] [-FileConflictAction]
[-DependencyVersion] [-ToHighestPatch] [-ToHighestMinor] [-WhatIf] [<CommonParameters>]

Uninstall-Package [-Id] <string> [-RemoveDependencies] [-ProjectName <string>] [-Force]
[-Version <string>] [-WhatIf] [<CommonParameters>]

Find-Package [-Id] <keywords> -Source <string> [-AllVersions] [-First [<int>]]
[-Skip <int>] [-IncludePrerelease] [-ExactMatch] [-StartWith] [<CommonParameters>]

上一篇 下一篇

猜你喜欢

热点阅读