Add Avalonia Extensions fix to buildtime.
MODIFY
WalletWasabi.Gui/WalletWasabi.Gui.csproj
WalletWasabi.Gui/WalletWasabi.Gui.csproj
<DocumentationFile>bin\Release\netcoreapp2.1\WalletWasabi.Gui.xml</DocumentationFile>
</PropertyGroup>
+ <ItemGroup>
+ <None Remove="Extensions\DummyHack.txt" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <EmbeddedResource Include="Extensions\DummyHack.txt">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ </ItemGroup>
+
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" />
</ItemGroup>

MODIFY
WalletWasabi.Packager/Program.cs
WalletWasabi.Packager/Program.cs
@@ -168,13 +168,6 @@ namespace WalletWasabi.Packager
var pRcedit = Process.Start(psiRcedit);
pRcedit.WaitForExit();
}
-
- // Hack around Avalonia/Wix fuckup.
- string dummyFilePath = Path.Combine(currentBinDistDirectory, "Extensions", "DummyHack.txt");
- string dummyFileContent = "This file is neccessary to have in the publish folder, otherwise Avalonia or AvalonStudio and Wix won't work together./n" +
- "It matters on Windows. It may or may not make a difference in Linux and OSX.";
- IoHelpers.EnsureContainingDirectoryExists(dummyFilePath);
- File.WriteAllText(dummyFilePath, dummyFileContent);
}
}

Add Avalonia Extensions fix to buildtime.