Try using the fully qualified name, like:

System.Data.SqlClient.SqlCommand, System.Data, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089

On Mar 2, 6:11 am, Emilian BALANESCU <[email protected]>
wrote:
> Is there a way to configure Windsor container to look for component
> type in GAC when using XML configuration file?
>
> I'm receiving the following error message "The type name
> System.Data.SqlClient.SqlCommand, System.Data could not be located."
> if I don't set Copy Local to be True for System.Data in Visual Studio.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to