vs 发布时 nuget api无法连接导致长时间停顿
取消勾选

或者,打开配置文件,可以看到详细配置

选择将第一个
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
修改为其他镜像源
华为云: https://repo.huaweicloud.com/repository/nuget/v3/index.json
微软Azure:https://nuget.cdn.azure.cn/v3/index.json
浙公网安备 33010602011771号