Skip to main content
1 of 2

The type or namespace name 'Configuration' does not exist in the namespace 'Sitecore.XConnect.Client'

I'm trying to implement XConnect in a sitecore context and using the code snippet

using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.Configuration.SitecoreXConnectClientConfiguration.GetClient()) { }

Here,

Error CS0234 The type or namespace name 'Configuration' does not exist in the namespace 'Sitecore.XConnect.Client' (are you missing an assembly reference?)

I have added sitecore.xconnect and sitecore.xconnect.client into the references as well as in the name space.. still issue is not resolved getting this error. I have added these dll's through nuget package manager. Any idea on this issue or I'm missing something??

Refering this Sitecore doc website