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 可在任意环境复现。
This commit is contained in:
hjhan
2026-08-15 13:38:08 +08:00
parent f2c2f6052c
commit 3505e40c7e
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="yilian-nexus" value="http://git.yiliantech.com/nexus/repository/nuget-group/index.json" protocolVersion="3" />
</packageSources>
</configuration>