Upcoming Enterprise Library 3.0

Mar 15, 2007 at 10:17 PM
Hello,

Could just released version 2.0 work with upcoming EntLib 3.0?

-
Thanks,
Leonid
Coordinator
Mar 18, 2007 at 1:12 PM
Frankly, I've been too busy to test that yet, so I can't answer that straight away. My current plans are to wait for EntLib 3.0 to release, and then have a look at compatibility. I must admit that I haven't been following EntLib 3.0 as closely as I should have, but as far as I recall, p&p aren't radically changing Object Builder, so I hope Service Locator 2.0 will either work with EntLib 3.0 without modification, or that the upgrade will at least be fairly easy :)

If you can't wait for me to figure this out, you are more than welcome to try it out for yourself and post your findings here :)
Sep 16, 2007 at 4:13 AM

I was able to compile the code using EntLib 3.0 but had only one issue with the NameTypeConfigurationElementCollection (under Microsoft.Practices.EnterpriseLibrary.Common.Configuration). It now requires an additional parameter, CustomElementData to instantiate. I found some instructions for a work-around here (http://www.codeplex.com/entlib/Thread/View.aspx?ThreadId=14082).

I still need to run the tests though.