我需要创建一个包含.NET 4.6.1的安装包。独立安装程序。我遵循了\WixSharp\Samples\Bootstrapper\WixBootstrapper_NoUI
示例 - 它适用于.NET 4.6。独立安装程序NetFx46Redist
:
var bootstrapper =
new Bundle("My Product Suite",
new PackageGroupRef("NetFx46Redist"),
new MsiPackage(productMsi)
{
Id = "MyProductPackageId",
DisplayInternalUI = true
});
但是,使用.NET 4.6.1时。包组ID NetFx461Redist
,我收到以下错误:
BootstrapperBundle.wxs
Windows Installer XML Toolset Linker version 3.10.3.3007
Copyright (c) .NET Foundation and contributors. All rights reserved.
C:\WixSharp\Samples\Bootstrapper\WixBootstrapper_NoUI\BootstrapperBundle.wxs(13) : error LGHT0094 : Unresolved reference to symbol 'ChainPackageGroup:NetFx461Redist' in section 'Bundle:My Product Suite'.
我做错了什么?
谢谢,
帕洛阿
答案 0 :(得分:1)