ilmerge - How to make it work with licensing

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
mrjoltcola
Posts: 24
Joined: Tue 21 Sep 2010 07:17

ilmerge - How to make it work with licensing

Post by mrjoltcola » Wed 18 May 2011 16:34

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.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 19 May 2011 11:38

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.

Post Reply