[Opensim-dev] Problem registering region module
Dahlia Trimble
dahliatrimble at gmail.com
Wed Mar 7 23:59:08 UTC 2012
Do you have a "using Mono.Addins;" statement and a reference to the
Mono.Addins dll? That's the only difference I see between yours and a
region module of mine that works.
On Wed, Mar 7, 2012 at 7:31 AM, Olli Aro <olli_aro at yahoo.co.uk> wrote:
> Hi all,****
>
> ** **
>
> I am migrating my old region modules to the latest OpenSim and have
> problems registering the module with OpenSim. I have added the following
> lines in my code:****
>
> ** **
>
> [assembly: Addin("MyModule", "0.1")]****
>
> [assembly: AddinDependency("OpenSim", "0.7")]****
>
> ** **
>
> …****
>
> ** **
>
> [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id
> = "MySharedModule")]****
>
> public class MyModule : ISharedRegionModule****
>
> ** **
>
> But when I drop this to OpenSim bin directory and start up OpenSim, the
> module is not picked up. At the moment I have only the following line in
> the initialise method:****
>
> ** **
>
> m_log.Error("[MYMODULE]: hello hello hello");****
>
> ****
>
> Any pointers why my module might not be picked up? For example are the
> modules still put into bin/ or now to some other directory?****
>
> ** **
>
> Regards,****
>
> ** **
>
> Olli****
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20120307/769f013b/attachment-0001.html>
More information about the Opensim-dev
mailing list