我希望你一切都好:)
所以,我正在做一些关于 Burn、Bootstrapper 工具的 wix 教程。
我尝试构建自己的 UI(按照本教程),当我想运行它时,它崩溃了。
我已将其包含到我的 AsseblyInfo.cs 中
[assembly: BootstrapperApplication(
typeof(CustomBootstrapperApplication))]
Run Code Online (Sandbox Code Playgroud)
这是我的 BootstrapperCore.config
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
<configuration>
<configSections>
<sectionGroup name="wix.bootstrapper" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup, BootstrapperCore">
<section name="host" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection, BootstrapperCore" />
</sectionGroup>
</configSections>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
<supportedRuntime version="v2.0.50727" />
</startup>
<wix.bootstrapper>
<!-- Example only. Use only if the startup/supportedRuntime above …Run Code Online (Sandbox Code Playgroud)