<Project Sdk="WixToolset.Sdk/5.0.0"> <PropertyGroup> <OutputType>Bundle</OutputType> <OutputName>Elwig</OutputName> <Cultures>de-AT</Cultures> </PropertyGroup> <Target Name="CustomBeforeBuild" BeforeTargets="BeforeBuild"> <Exec Command="curl --fail -s -L "https://go.microsoft.com/fwlink/p/?LinkId=2124703" -z "$(ProjectDir)\Files\MicrosoftEdgeWebview2Setup.exe" -o "$(ProjectDir)\Files\MicrosoftEdgeWebview2Setup.exe"" /> <Exec Command="curl --fail -s -L "https://aka.ms/vs/17/release/vc_redist.x86.exe" -z "$(ProjectDir)\Files\VC_redist.x86.exe" -o "$(ProjectDir)\Files\VC_redist.x86.exe"" /> <PropertyGroup> <DefineConstants>ElwigProjectDir=..\Elwig</DefineConstants> </PropertyGroup> </Target> <ItemGroup> <ProjectReference Include="..\Installer\Installer.wixproj" /> <PackageReference Include="WixToolset.Bal.wixext" Version="5.0.1" /> <PackageReference Include="WixToolset.Util.wixext" Version="5.0.1" /> </ItemGroup> </Project>