Skip to main content

I'm trying to implement XConnect in a sitecoreSitecore 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 sitecoreSitecore.xconnectxConnect and sitecoreSitecore.xconnectxConnect.clientClient into the references as well as in the name space.. stillBut Still the issue is not resolved and 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

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

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. But Still the issue is not resolved and 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

Source Link

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