views:

289

answers:

1

Hi everybody,
the thing is I have an issue with Castle.Core.dll. I've installed RC3 from their website, so I have 1.0.3.0 version of DLL.
I`m studying MVC framework using Steve Sanderson's book (which is great, btw) and running samples. Project compiled successfully, all was running, but suprisingly today I've got this runtime exception:

Method not found: 'Void Castle.Core.Configuration.ConfigurationCollection.AddRange(Castle.Core.Configuration.ConfigurationCollection)'


It's strange because before today project was OK, all worked well. I checked on RedGate's Reflector - this method is present in the DLL.
So, any ideas what I've done wrong? I restarted VS, deleted reference and added it again - in vain:(. Googling does nothing for me - many people have similar troubles, but not exactly.
EDIT: And, by the way, I've tried Steve's code downloaded from apress.com. It didn`t work - the reason is the same.

+1  A: 

[UPDATE - pulling what's in comments to the body of the answer]

  • Ensure you have no old (RC) version installed in your GAC, if you do - uninstall it.
  • Download binary package of Windsor 2.0 (or newer if available) and unzip it to a folder on your hard drive
  • Remove old references in your project. Add references to the files you extracted in the above step
  • Ensure you updated version number in your app.config (can be copied from Reflector)
Krzysztof Koźmic
yes I do, all of 1.0.3.0CastleWindsor 2.0 will be good?
chester89