Nach einigen Mails zwischen Mike Barnett und mir kamen wir zu folgender vorrübergehender Lösung:
Can you try this? Specify the /targetplatform as you did the first time, but use "v2" instead of "v3.5", i.e.,
"C:\Program Files\Microsoft\ILMerge\ILmerge.exe" /t:winexe /targetplatform:v2,"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Debugger\BCL" /out:"temp\$(TargetFileName)" "$(TargetFileName)" "Utilities.dll"
Please let me know if that works for you. I will also look into changing ILMerge to allow you to specify v3.5 as a valid target platform.
v2 als targetplatform aber das library verzeichnis vom .NET CF 3.5 verwenden.
Gruß Stephan