国产操作系统: 项目配置 .net 添加Nuget源
如何添加Nuget源
详见 https://learn.microsoft.com/zh-cn/nuget/what-is-nuget
方案一,使用dotnet nuget命令管理源(推荐,一条命令解决)
命令行格式(国产系统和win通用)
dotnet nuget add source "源的URL地址,可为服务器地址,也可为在线地址" --name "源名称"
如
dotnet nuget add source "https://api.nuget.org/v3/index.json" --name "NuGetOfficial"
or 本地目录
dotnet nuget add source "D:Program Files (x86)\SharpTools upkgs" --name "txh_demo"
/forum/N2025082117473119467690
/forum/N2025080814135720887816



浙公网安备 33010602011771号