| <Project Sdk="WixToolset.Sdk/5.0.0"> | |
| <PropertyGroup> | |
| <OutputName>EchoDictSetup</OutputName> | |
| <OutputType>Package</OutputType> | |
| <InstallerPlatform>x64</InstallerPlatform> | |
| <PublishDir>..\WpfEditor\bin\Release\net8.0-windows\win-x64\publish</PublishDir> | |
| <DefineConstants>PublishDir=$(PublishDir)</DefineConstants> | |
| </PropertyGroup> | |
| <ItemGroup> | |
| <PackageReference Include="WixToolset.UI.wixext" Version="5.0.0" /> | |
| <PackageReference Include="WixToolset.Heat" Version="5.0.0" /> | |
| </ItemGroup> | |
| <ItemGroup> | |
| <ProjectReference Include="..\WpfEditor\EchoDict.csproj" /> | |
| </ItemGroup> | |
| <ItemGroup> | |
| <HarvestDirectory Include="$(PublishDir)"> | |
| <ComponentGroupName>PublishedComponents</ComponentGroupName> | |
| <DirectoryRefId>INSTALLFOLDER</DirectoryRefId> | |
| <SuppressRootDirectory>true</SuppressRootDirectory> | |
| <PreprocessorVariable>var.PublishDir</PreprocessorVariable> | |
| </HarvestDirectory> | |
| </ItemGroup> | |
| </Project> | |