修复安装器本地 NuGet 包还原路径
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<config>
|
||||
<!-- Keep packages.config dependencies beside the WiX projects. -->
|
||||
<add key="repositoryPath" value="Setup\BundleInstaller\packages" />
|
||||
</config>
|
||||
<packageSources>
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||
<!-- Hex.Wix.Xeam 1.2.6 is a private/local package and is not published on nuget.org. -->
|
||||
<add key="local-xeam" value="Setup\BundleInstaller\packages\Hex.Wix.Xeam.1.2.6" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
@@ -44,6 +44,9 @@ Bootstrapper(BundleInstaller.exe)
|
||||
- `Setup\BundleInstaller\packages` 中的本地构建依赖
|
||||
- `ReleaseFiles` 目录及 `Files.wxs` 中声明的外部文件
|
||||
|
||||
仓库根目录的 `NuGet.Config` 将 `packages.config` 的还原目录固定为
|
||||
`Setup\BundleInstaller\packages`,并配置本地 `Hex.Wix.Xeam.1.2.6` 源。顶层方案还原时请使用该配置,避免 NuGet 错误地到 `XP.Installer\packages` 或 nuget.org 查找 Xeam 私有包。
|
||||
|
||||
## 目录职责
|
||||
|
||||
`XP.Installer` 是“通用安装框架 + 当前产品定制内容”的组合。
|
||||
|
||||
Reference in New Issue
Block a user