+2  A: 

What you get is not an error that will prevent you from running your application. It is just a warning that Visual Studio emits because it does not know the castle node in a config file. You could use a schema to enable intellisense. Download the Castle Windsor Schema file and take a look at the readme.txt inside. It tells you to put windsor.xsd somewhere on your hard drive and then reference it in the config file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns="MyWindsorSchema"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="MyWindsorSchema file://S:\Common\Windsor\windsor.xsd">

    <configSections>
        <section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" />
    </configSections>

    <castle>
        <components>
        </components>
    </castle>
</configuration>
Darin Dimitrov
A: 

the castle.xsd from http://code.google.com/p/castlewindsorschema/ is not complete. still have warning. is there anyone complete the schema for caste windsor .net framework 2.0?

anang.bakti
What do you need the schema for? You can suggest it on uservoice: http://castle.uservoice.com but please state your reasons.
Mauricio Scheffer
I chose to ignore the warning, while my castle config still do their job as i expected.
anang.bakti