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.
2.5 Enterprise Library GAC licensing
Thanks, what I need to know is how/if the license will need to be compiled into web projects using my httpmodule, or is there a way to have the license as part of the httpmodule project and not have to modify each web project that uses it. For example, will I be able to just add a licenses.licx file to the httpmodule project and it will then work in any web application on the server ?