serving the solutions day and night

Pages

Friday, March 15, 2013

ILMerge

Download ILMerge from MicroSoft

"$(Programfiles)\Microsoft\ILMerge\ilmerge.exe” /out:$(TargetDir)$(AssemblyName).Merged.dll $(TargetDir)DNS.Crm.Activities.dll $(TargetDir)DNS.Crm.Entities.dll  $(TargetDir)DNS.Crm.BusinessLogic.dll /keyfile:$(TargetDir)DNSCRM.snk /targetplatform:v4,"%ProgramFiles%\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /log:$(AssemblyName).ILMerge.log

"C:\Program Files (x86)\Microsoft\ILMerge\ilmerge.exe” /out:$(TargetDir)$(AssemblyName).Merged.dll $(TargetDir)$(AssemblyName).dll $(TargetDir)BizTalk.MSDynamicsCRM2011.DNS.Entities.dll /keyfile:$(TargetDir)CRM.BookAudit.snk /targetplatform:v4,"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /log:$(AssemblyName).ILMerge.log

Past the above code in the post-build event command line:

 

No comments: