@echo please copy "C:\Windows\Microsoft.NET\Framework\v3.0\WPF\PresentationUI.dll" to this directory. Dunno why.
ilmerge /v4 /target:WinExe /out:..\output64\EmuHawk.merged.exe ..\output64\EmuHawk.exe ..\output64\BizHawk.Client.Common.dll ..\output64\BizHawk.Common.dll ..\output64\BizHawk.Emulation.Common.dll ..\output64\BizHawk.Emulation.Cores.dll ..\output64\BizHawk.Emulation.DiscSystem.dll "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\PresentationFramework.dll" PresentationUI.dll