Page 1 of 1

ilmerge - How to make it work with licensing

Posted: Wed 18 May 2011 16:34
by mrjoltcola
I run my post-build step to merge all my app and dlls into one .exe

rename myapp.exe _myapp.exe
ilmerge /allowDup /out:myapp.exe _myapp.exe devart.data.oracle.dll ...

The resulting app will run but gives me the licensing error "License not found" ...

I disassemble my .exe and the namespaces are correct, the assembly is the same as the original.

According to this thread http://www.devart.com/forums/viewtopic. ... ht=ilmerge I am supposed to make sure my assembly name matches. I have done this.

Posted: Thu 19 May 2011 11:38
by Shalex
It is possible to use ILMerge.exe with the Devart.* assemblies starting from the 5.70.180 version of dotConnect for Oracle (revision history: this version includes fix for generating license resource for the ILMerged assembly).

You can find an example of using ILMerge.exe in this thread: http://www.devart.com/forums/viewtopic.php?t=19997.