Reputation: 121
Does anyone have experience using IL Merge and the .NET CF? Does IL Merge work with CF? Are there any known problems?
Upvotes: 1
Views: 469
Reputation: 755121
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
Upvotes: 4