Sure thing. I sent the project to your Yahoo account. Thanks for
On Sep 12, 9:38 am, "Jeremy D. Miller" <
> Any chance you can send me the code? That functionality has quite a bit of unit test coverage, so I think there's something else going on.
> Jeremy D. Miller
> The Shade Tree Developer
> ----- Original Message ----
> From: jdc <jdcrutch...@spiffworks.com
> To: structuremap-users <structure...@googlegroups.com
> Sent: Friday, September 12, 2008 9:05:43 AM
> Subject: [sm-users] Re: Please help with ScanAssemblies
> Thanks Jeremy. The problem I'm having though isn't that the
> registries aren't being scanned. I can watch in the debugger that the
> configure methods are called. However, the statements in them don't
> seem to have any effect. I still get 202 errors when I try
> GetInstance. It does work if I used
> StructureMapConfiguration.AddRegistry on each of them though. In both
> cases I can watch through the debugger and see configure getting
> called on each registry, but when it's kicked off from ScanAssemblies
> the configuration doesn't stick.
> I also noticed that using ScanAssemblies, the actual running of the
> configure methods is delayed until the first call to GetInstance.
> Probably because ScanAssemblies is really just creating an
> expression. Is it possible that my ObjectFactory is getting into some
> state where it doesn't allow changes by the time the actual scan runs?- Hide quoted text -