Commit Graph
2 Commits
Author SHA1 Message Date
hjhan eb9591e212 chore(build): nuget.config 内网 Nexus HTTP 源补 allowInsecureConnections,修复 NU1302
NuGet 新版(VS 设计时 restore / SDK 7+)强制 HTTPS 源,内网
git.yiliantech.com/nexus 仅有 HTTP,导致 YLErp.Resources/MailKit/Security/Cache/Core
还原报 NU1302。按官方指定开关显式放行该源;nuget.org 仍走 HTTPS 不受影响。
验证:dotnet restore --force 真实触源成功,全解决方案编译 0 错误。
2026-08-16 12:57:06 +08:00
hjhan 3505e40c7e build(nuget): 新增仓库级 nuget.config 注册 Nexus 私有源
仓库此前无 nuget.config,全局 NuGet.Config 仅含 nuget.org,
导致沙箱/CI/新机器 dotnet restore 因找不到 Qdp.Pricing.*、YieldChain.Core
等带 -glms 后缀私有包而 NU1101。注册 Nexus nuget-group(v3, 匿名可读)
源后 build 可在任意环境复现。
2026-08-15 13:38:08 +08:00