Does anyone have experience using IL Merge and the .NET CF? Does IL Merge work with CF? Are there any known problems?
+2
A:
Yes, IL merge does support the Compact Framework platform. By default it will attempt to target the desktop CLR. You must pass the path to the Compact framework install to the /targetplatform parameter though.
For Example
ilmerge /t:winexe /targetplatform:v2,"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\Debugger\BCL"
This blog post has an excellent breakdown of this process:
http://blog.opennetcf.com/ncowburn/2007/01/30/UsingILMergeOnCompactFrameworkApplications.aspx
JaredPar
2009-01-23 13:04:43