<Project Sdk="WixToolset.Sdk/4.0.1"> <PropertyGroup> <HarvestFileSuppressUniqueIds>false</HarvestFileSuppressUniqueIds> <HarvestFileGenerateGuidsNow>true</HarvestFileGenerateGuidsNow> <HarvestDirectorySuppressRegistry>false</HarvestDirectorySuppressRegistry> <HarvestDirectoryVerboseOutput>true</HarvestDirectoryVerboseOutput> <HarvestProjectsDirectoryIds>InstallFolder</HarvestProjectsDirectoryIds> </PropertyGroup> <PropertyGroup> <DefineConstants>BuildPath=../Elwig/bin/Publish;DocumentTemplatesPath=../Elwig/Documents</DefineConstants> <PreBuildEvent>curl -s -L "https://unpkg.com/pagedjs/dist/paged.polyfill.js" -o "$(TargetDir)paged.polyfill.js" & curl -s "http://www.columbia.edu/~em36/PDFtoPrinter.exe" -z "$(TargetDir)PDFtoPrinter.exe" -o "$(TargetDir)PDFtoPrinter.exe" & dotnet publish "$(SolutionDir)Elwig\Elwig.csproj" "/p:PublishProfile=$(SolutionDir)\Elwig\Properties\PublishProfiles\FolderProfile.pubxml"</PreBuildEvent> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <Cultures>de-AT</Cultures> </PropertyGroup> <ItemGroup> <HarvestDirectory Include="../Elwig/bin/Publish"> <ComponentGroupName>BuildFiles</ComponentGroupName> <DirectoryRefId>InstallFolder</DirectoryRefId> <SuppressRootDirectory>true</SuppressRootDirectory> <PreprocessorVariable>BuildPath</PreprocessorVariable> <Transforms>BuildFilesTransform.xslt</Transforms> </HarvestDirectory> <BindPath BindName="BuildBindPath" Include="../Elwig/bin/Publish" /> </ItemGroup> <ItemGroup> <HarvestDirectory Include="../Elwig/Documents"> <ComponentGroupName>DocumentTemplates</ComponentGroupName> <DirectoryRefId>ConfigFolderResources</DirectoryRefId> <SuppressRootDirectory>true</SuppressRootDirectory> <PreprocessorVariable>DocumentTemplatesPath</PreprocessorVariable> <Transforms>DocumentTemplatesTransform.xslt</Transforms> </HarvestDirectory> <BindPath BindName="DocumentTemplateBindPath" Include="../Elwig/Documents" /> </ItemGroup> <ItemGroup> <None Include="DocumentTemplatesTransform.xslt" /> <None Include="BuildFilesTransform.xslt" /> <None Include="Files\config.ini" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\Elwig\Elwig.csproj" PublishProfile="..\Elwig\Properties\PublishProfiles\FolderProfile.pubxml" Publish="true" /> <PackageReference Include="WixToolset.Heat" Version="4.0.1" /> </ItemGroup> </Project>