0
votes

So I downloaded and extracted the latest version of the Windsor IoC container today (2.5.2) and for some reason that is beyond me, keeps spitting out this horribly basic error when I try to compile:

The type or namespace name 'Castle' could not be found (are you missing a using directive or an assembly reference?)

Thing is - I HAVE referenced both the Castle.Core and Castle.Windsor assemblies (and various other combinations thereof) and still no luck. I'm guessing I must be doing something stupid but can't figure out what. This is for .NET 4.0.

Any ideas? Anyone? All constructive help appreciated

1

1 Answers

3
votes

Are you using VS2010? If so, try to go project properties -> Application Tab and make sure that you are not using a Framework version that has "client profile" in it.