# NuGetManager.CommuniyToolkit
**Repository Path**: galacode/nugetmanager-communitytoolkit
## Basic Information
- **Project Name**: NuGetManager.CommuniyToolkit
- **Description**: 软件发布了,想更新某个nuget引用怎么办,快使用NuGetManager.CommunityToolkit吧,一步操作更新依赖引用避免重发版。
- **Primary Language**: C#
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2022-11-14
- **Last Updated**: 2024-01-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: Nuget, 更新, dll
## README
# NuGetManager.CommunityToolkit
软件发布了,想更新某个nuget引用怎么办,快使用NuGetManager.CommunityToolkit吧,一步操作更新依赖引用避免重发版。
## 功能特性
- 简单方便
- 可用于软件功能dll更新
- 避免重构建重发版
- 支持自定义nuget源
- 支持指定版本
- 支持依赖项同步更新
- 支持nuget包解压缩
## 快速开始
### 依赖检查
`
dotnet restore
`
### 构建
`
dotnet build
`
### 运行
`
dotnet run
`
## 使用指南
#### 引用
- nuget添加包引用
```
using NuGetManager.CommunityToolkit.NuGet;
```
#### 调用
1. NuGetPackageManager实例化需要两个参数
- 保存dll的目录
示例中为:AppDomain.CurrentDomain.BaseDirectory
- nuget源
示例中为:https://api.nuget.org/v3/index.json
****
2. 方法调用需要两个参数
- 包名称
示例中为:Newtonsoft.Json
- 版本
示例中为:13.0.2-beta3
版本,报名称,nuget源可从vs 包管理器中查看

```
Console.WriteLine("Hello, World!");
await new NuGetPackageManager(AppDomain.CurrentDomain.BaseDirectory, "https://api.nuget.org/v3/index.json")
.DownloadPackageAsync("Newtonsoft.Json", "13.0.2-beta3");
```
#### 效果
- Newtonsoft.Json被更新到指定文件夹下

## 如何贡献
## 关于作者
**master never down**
## 谁在用
# **京东**
# **阿里**
# **腾讯**
都没有用
## 感谢JET BRAINS 支持
## 许可证
[MIT](LICENSE)