I have a WPF exe I want to merge with its referenced libraries, so I tried ILRepack. The merging is done fine and the final executable is pretty fat.
But when I try to launch it, it stop to work, and when I debug in Visual Studio I get an "IOException - Cannot locate resource 'mainwinwows.xaml'" (the original message is in french, the translation might be not very accurate). The StartupUri is correct.
Here is my command line:
ILRepack.exe "C:\<Some path>\originalExe.exe" /lib:"C:\<Some path>\libsToInclude" /out:"C:\<Some path>\finalExe.exe" /log:"C:\<Some path>\logBuild.log" /target:winexe
Should I merge the xaml file with the other libraries ?