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:
@@ -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>
|
||||
Reference in New Issue
Block a user