Page 1 of 1

licensing problem with assembly loaded at runtime

Posted: Sun 26 Feb 2006 22:08
by oribolzi
I am currently testing the Oracle .NET driver for adoption on a Gis app.
I'm also testing LLBLGen, and trying to write a new driver using your product.

When the LLBLGen designer load the driver (my assembly) and try to open a connection, a licensing not found error raise.
The assembly has the licenses.licx file embedded, but I cannot embed the resource on the the LLBLGen designer.

Any alternate solution ?

tks,
Onorio

Posted: Mon 27 Feb 2006 07:23
by Paul
OraDirect .NET allows to create class libraries that can be used with certain executable files. To do this, create a text file named licenses.config and place it to the folder with licenses.licx. In this file enumerate names of executable files that will work with the library, every file name on separate line, for example:

MyApplication.exe
MyAnotherApp.exe
ExtraTool.exe

You do not have to add the file licenses.config to project. You have to include licenses.licx to your project also.