2.5 Enterprise Library GAC licensing
Posted: Thu 20 Apr 2006 01:50
I've downloaded 2.5 to trial this for a potential project. My goal is to use the Enterprise Library component in a .Net 2.0 HttpModule for several different aspx web service applications, thus every assembly needs to go in the GAC.
I modified the CoreLab.PostgreSql.EnterpriseLibrary project to be strong named and registered with the GAC. So far so good, but now I built a test console app and get a "license not found" error. I then add the licenses.licx file and this works ok. What I'm concerned about though are the instructions for licensing this in a class library, which seems to require a licenses.config file. I'm confused as to how an httpmodule running in an aspx application context is to be licensed. I want the licensing requirements to be contained in the httpmodule project, not in each web project I use it in. Please advise on the best strategy for this.
I modified the CoreLab.PostgreSql.EnterpriseLibrary project to be strong named and registered with the GAC. So far so good, but now I built a test console app and get a "license not found" error. I then add the licenses.licx file and this works ok. What I'm concerned about though are the instructions for licensing this in a class library, which seems to require a licenses.config file. I'm confused as to how an httpmodule running in an aspx application context is to be licensed. I want the licensing requirements to be contained in the httpmodule project, not in each web project I use it in. Please advise on the best strategy for this.